UCommon
Data Structures | Functions | Variables
applog.h File Reference

Application logging facilities abstraction. More...

#include <commoncpp/config.h>
#include <commoncpp/slog.h>
#include <commoncpp/exception.h>
#include <string>
#include <sstream>
#include <iostream>
#include <map>
Include dependency graph for applog.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  ost::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  ost::AppLog::Ident
 Ident class that represents module name. More...
 
class  ost::AppLogException
 Applog exception, used for memory problems at the moment. More...
 
class  ost::HEXdump
 Produces a dump of a buffer in a hexdump way with its code Ascii translation and relative buffer address. More...
 

Functions

AppLog & ost::alert (AppLog &sl)
 Manipulator for alert level. More...
 
AppLog & ost::critical (AppLog &sl)
 Manipulator for critical level. More...
 
AppLog & ost::debug (AppLog &sl)
 Manipulator for debug level. More...
 
AppLog & ost::emerg (AppLog &sl)
 Manipulator for emerg level. More...
 
AppLog & ost::error (AppLog &sl)
 Manipulator for error level. More...
 
AppLog & ost::info (AppLog &sl)
 Manipulator for info level. More...
 
AppLog & ost::notice (AppLog &sl)
 Manipulator for notice level. More...
 
AppLog & ost::warn (AppLog &sl)
 Manipulator for warn level. More...
 

Variables

AppLog ost::alog
 alog global log stream definition
 

Detailed Description

Application logging facilities abstraction.

Definition in file applog.h.