yast2-core
Namespaces | Macros | Functions | Variables
Y2SLog.h File Reference
#include <iostream>
#include <y2util/y2log.h>

Go to the source code of this file.

Namespaces

 Y2SLog
 

Macros

#define Y2LOG   "DEFINE_Y2LOG"
 
#define _Y2SLOG(c, l)   Y2SLog::get( c, l, __FILE__, __FUNCTION__, __LINE__ )
 
#define _Y2SLOD(c, l)   Y2SLog::get( c"++", 1, __FILE__, __FUNCTION__, __LINE__ )
 
#define _Y2SLOGDBG(c, l)   Y2SLog::getdbg( c"-dbg", l, __FILE__, __FUNCTION__, __LINE__ )
 
#define _Y2SLODDBG(c, l)   Y2SLog::getdbg( c"-dbg++", 1, __FILE__, __FUNCTION__, __LINE__ )
 
#define _DBG(c)   _Y2SLOD( c, 0 )
 
#define _MIL(c)   _Y2SLOG( c, 1 )
 
#define _WAR(c)   _Y2SLOG( c, 2 )
 
#define _ERR(c)   _Y2SLOG( c, 3 )
 
#define _SEC(c)   _Y2SLOG( c, 4 )
 
#define _INT(c)   _Y2SLOG( c, 5 )
 
#define DBG   _DBG(Y2LOG)
 
#define MIL   _MIL(Y2LOG)
 
#define WAR   _WAR(Y2LOG)
 
#define ERR   _ERR(Y2LOG)
 
#define SEC   _SEC(Y2LOG)
 
#define INT   _INT(Y2LOG)
 
#define _D__(c)   _Y2SLODDBG( c, 0 )
 
#define _M__(c)   _Y2SLOGDBG( c, 1 )
 
#define _W__(c)   _Y2SLOGDBG( c, 2 )
 
#define _E__(c)   _Y2SLOGDBG( c, 3 )
 
#define _S__(c)   _Y2SLOGDBG( c, 4 )
 
#define _I__(c)   _Y2SLOGDBG( c, 5 )
 
#define D__   _D__(Y2LOG)
 
#define M__   _M__(Y2LOG)
 
#define W__   _W__(Y2LOG)
 
#define E__   _E__(Y2LOG)
 
#define S__   _S__(Y2LOG)
 
#define I__   _I__(Y2LOG)
 

Functions

std::ostream & Y2SLog::get (const char *which, const unsigned level, const char *fil, const char *fnc, const int lne)
 
std::ostream & Y2SLog::getdbg (const char *which, const unsigned level, const char *fil, const char *fnc, const int lne)
 

Variables

bool Y2SLog::dbg_enabled_bm
 

Macro Definition Documentation

#define _D__ (   c)    _Y2SLODDBG( c, 0 )
#define _DBG (   c)    _Y2SLOD( c, 0 )
#define _E__ (   c)    _Y2SLOGDBG( c, 3 )
#define _ERR (   c)    _Y2SLOG( c, 3 )
#define _I__ (   c)    _Y2SLOGDBG( c, 5 )
#define _INT (   c)    _Y2SLOG( c, 5 )
#define _M__ (   c)    _Y2SLOGDBG( c, 1 )
#define _MIL (   c)    _Y2SLOG( c, 1 )
#define _S__ (   c)    _Y2SLOGDBG( c, 4 )
#define _SEC (   c)    _Y2SLOG( c, 4 )
#define _W__ (   c)    _Y2SLOGDBG( c, 2 )
#define _WAR (   c)    _Y2SLOG( c, 2 )
#define _Y2SLOD (   c,
 
)    Y2SLog::get( c"++", 1, __FILE__, __FUNCTION__, __LINE__ )
#define _Y2SLODDBG (   c,
 
)    Y2SLog::getdbg( c"-dbg++", 1, __FILE__, __FUNCTION__, __LINE__ )
#define _Y2SLOG (   c,
 
)    Y2SLog::get( c, l, __FILE__, __FUNCTION__, __LINE__ )
#define _Y2SLOGDBG (   c,
 
)    Y2SLog::getdbg( c"-dbg", l, __FILE__, __FUNCTION__, __LINE__ )
#define D__   _D__(Y2LOG)
#define DBG   _DBG(Y2LOG)
#define E__   _E__(Y2LOG)
#define ERR   _ERR(Y2LOG)
#define I__   _I__(Y2LOG)
#define INT   _INT(Y2LOG)
#define M__   _M__(Y2LOG)
#define MIL   _MIL(Y2LOG)

Referenced by Process::~Process().

#define S__   _S__(Y2LOG)
#define SEC   _SEC(Y2LOG)
#define W__   _W__(Y2LOG)
#define WAR   _WAR(Y2LOG)
#define Y2LOG   "DEFINE_Y2LOG"

Generated on a sunny day for yast2-core by doxygen 1.8.6