Go to the documentation of this file.
28 #define Y2LOG "DEFINE_Y2LOG"
41 extern std::ostream &
get(
const char * which,
const unsigned level,
42 const char * fil,
const char * fnc,
const int lne );
44 extern std::ostream &
getdbg(
const char * which,
const unsigned level,
45 const char * fil,
const char * fnc,
const int lne );
50 #define _Y2SLOG(c,l) Y2SLog::get( c, l, __FILE__, __FUNCTION__, __LINE__ )
51 #define _Y2SLOD(c,l) Y2SLog::get( c"++", 1, __FILE__, __FUNCTION__, __LINE__ )
52 #define _Y2SLOGDBG(c,l) Y2SLog::getdbg( c"-dbg", l, __FILE__, __FUNCTION__, __LINE__ )
53 #define _Y2SLODDBG(c,l) Y2SLog::getdbg( c"-dbg++", 1, __FILE__, __FUNCTION__, __LINE__ )
64 #define _DBG(c) _Y2SLOD( c, 0 )
65 #define _MIL(c) _Y2SLOG( c, 1 )
66 #define _WAR(c) _Y2SLOG( c, 2 )
67 #define _ERR(c) _Y2SLOG( c, 3 )
68 #define _SEC(c) _Y2SLOG( c, 4 )
69 #define _INT(c) _Y2SLOG( c, 5 )
71 #define DBG _DBG(Y2LOG)
72 #define MIL _MIL(Y2LOG)
73 #define WAR _WAR(Y2LOG)
74 #define ERR _ERR(Y2LOG)
75 #define SEC _SEC(Y2LOG)
76 #define INT _INT(Y2LOG)
88 #define _D__(c) _Y2SLODDBG( c, 0 )
89 #define _M__(c) _Y2SLOGDBG( c, 1 )
90 #define _W__(c) _Y2SLOGDBG( c, 2 )
91 #define _E__(c) _Y2SLOGDBG( c, 3 )
92 #define _S__(c) _Y2SLOGDBG( c, 4 )
93 #define _I__(c) _Y2SLOGDBG( c, 5 )
95 #define D__ _D__(Y2LOG)
96 #define M__ _M__(Y2LOG)
97 #define W__ _W__(Y2LOG)
98 #define E__ _E__(Y2LOG)
99 #define S__ _S__(Y2LOG)
100 #define I__ _I__(Y2LOG)
Generated on a sunny day for yast2-core by
1.8.2