Bayonne2 / Common C++ 2 Framework
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Data Structures | Functions | Variables
applog.h File Reference

Application logging facilities abstraction. More...

#include <cc++/slog.h>
#include <cc++/exception.h>
#include <string>
#include <sstream>
#include <iostream>
#include <map>
Include dependency graph for applog.h:

Go to the source code of this file.

Data Structures

class  HEXdump
 Produces a dump of a buffer in a hexdump way with its code Ascii translation and relative buffer address. More...
 
class  AppLog
 Application logger is a class that implements a logger that can be used by applications to save log file somewhere on the system. More...
 
class  AppLog::Ident
 Ident class that represents module name. More...
 

Functions

__EXPORT AppLogdebug (AppLog &sl)
 Manipulator for debug level. More...
 
__EXPORT AppLogwarn (AppLog &sl)
 Manipulator for warn level. More...
 
__EXPORT AppLogerror (AppLog &sl)
 Manipulator for error level. More...
 
__EXPORT AppLogemerg (AppLog &sl)
 Manipulator for emerg level. More...
 
__EXPORT AppLogalert (AppLog &sl)
 Manipulator for alert level. More...
 
__EXPORT AppLogcritical (AppLog &sl)
 Manipulator for critical level. More...
 
__EXPORT AppLognotice (AppLog &sl)
 Manipulator for notice level. More...
 
__EXPORT AppLoginfo (AppLog &sl)
 Manipulator for info level. More...
 

Variables

__EXPORT AppLog alog
 alog global log stream definition More...
 

Detailed Description

Application logging facilities abstraction.

Definition in file applog.h.

Function Documentation

__EXPORT AppLog& alert ( AppLog sl)
inline

Manipulator for alert level.

Parameters
slapplication logger stream
Returns
application logger stream

Definition at line 557 of file applog.h.

__EXPORT AppLog& critical ( AppLog sl)
inline

Manipulator for critical level.

Parameters
slapplication logger stream
Returns
application logger stream

Definition at line 565 of file applog.h.

__EXPORT AppLog& debug ( AppLog sl)
inline

Manipulator for debug level.

Parameters
slapplication logger stream
Returns
application logger stream

Definition at line 525 of file applog.h.

__EXPORT AppLog& emerg ( AppLog sl)
inline

Manipulator for emerg level.

Parameters
slapplication logger stream
Returns
application logger stream

Definition at line 549 of file applog.h.

__EXPORT AppLog& error ( AppLog sl)
inline

Manipulator for error level.

Parameters
slapplication logger stream
Returns
application logger stream

Definition at line 541 of file applog.h.

__EXPORT AppLog& info ( AppLog sl)
inline

Manipulator for info level.

Parameters
slapplication logger stream
Returns
application logger stream

Definition at line 581 of file applog.h.

__EXPORT AppLog& notice ( AppLog sl)
inline

Manipulator for notice level.

Parameters
slapplication logger stream
Returns
application logger stream

Definition at line 573 of file applog.h.

__EXPORT AppLog& warn ( AppLog sl)
inline

Manipulator for warn level.

Parameters
slapplication logger stream
Returns
application logger stream

Definition at line 533 of file applog.h.

Variable Documentation

alog global log stream definition