Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

Y2Log.h File Reference

#include <iosfwd>
#include <iostream>
#include "stdutil.h"

Go to the source code of this file.

Namespaces

namespace  Y2Log

Defines

#define _LOG(c, l)   Y2Log::get( c, l, __FILE__, __FUNCTION__, __LINE__ )
#define _DBG(c)   _LOG( c, 0 )
#define _MIL(c)   _LOG( c, 1 )
#define _WAR(c)   _LOG( c, 2 )
#define _ERR(c)   _LOG( c, 3 )
#define _SEC(c)   _LOG( c, 4 )
#define _INT(c)   _LOG( c, 5 )
#define UIDBG   _DBG(Y2Log::C_Y2UI)
#define UIMIL   _MIL(Y2Log::C_Y2UI)
#define UIWAR   _WAR(Y2Log::C_Y2UI)
#define UIERR   _ERR(Y2Log::C_Y2UI)
#define UISEC   _SEC(Y2Log::C_Y2UI)
#define UIINT   _INT(Y2Log::C_Y2UI)
#define NCDBG   _DBG(Y2Log::C_NC)
#define NCMIL   _MIL(Y2Log::C_NC)
#define NCWAR   _WAR(Y2Log::C_NC)
#define NCERR   _ERR(Y2Log::C_NC)
#define NCSEC   _SEC(Y2Log::C_NC)
#define NCINT   _INT(Y2Log::C_NC)
#define WIDDBG   _DBG(Y2Log::C_NC_WIDGET)
#define WIDMIL   _MIL(Y2Log::C_NC_WIDGET)
#define WIDWAR   _WAR(Y2Log::C_NC_WIDGET)
#define WIDERR   _ERR(Y2Log::C_NC_WIDGET)
#define WIDSEC   _SEC(Y2Log::C_NC_WIDGET)
#define WIDINT   _INT(Y2Log::C_NC_WIDGET)
#define IODBG   _DBG(Y2Log::C_NC_IO)
#define IOMIL   _MIL(Y2Log::C_NC_IO)
#define IOWAR   _WAR(Y2Log::C_NC_IO)
#define IOERR   _ERR(Y2Log::C_NC_IO)
#define IOSEC   _SEC(Y2Log::C_NC_IO)
#define IOINT   _INT(Y2Log::C_NC_IO)
#define DBG_CLASS   0
#define DDBG   Y2Log::dbg_get( DBG_CLASS, 0, __FILE__, __FUNCTION__, __LINE__ )
#define MDBG   Y2Log::dbg_get( DBG_CLASS, 1, __FILE__, __FUNCTION__, __LINE__ )
#define WDBG   Y2Log::dbg_get( DBG_CLASS, 2, __FILE__, __FUNCTION__, __LINE__ )
#define EDBG   Y2Log::dbg_get( DBG_CLASS, 3, __FILE__, __FUNCTION__, __LINE__ )
#define SDBG   Y2Log::dbg_get( DBG_CLASS, 4, __FILE__, __FUNCTION__, __LINE__ )
#define IDBG   Y2Log::dbg_get( DBG_CLASS, 5, __FILE__, __FUNCTION__, __LINE__ )
#define D__   _DBG(Y2Log::C_TRACE)
#define M__   _MIL(Y2Log::C_TRACE)
#define W__   _WAR(Y2Log::C_TRACE)
#define E__   _ERR(Y2Log::C_TRACE)
#define S__   _SEC(Y2Log::C_TRACE)
#define I__   _INT(Y2Log::C_TRACE)

Enumerations

enum  Y2Log::lclass {
  Y2Log::C_Y2UI = 0, Y2Log::C_NC, Y2Log::C_NC_WIDGET, Y2Log::C_NC_IO,
  Y2Log::C_TRACE, Y2Log::C_DBG
}

Functions

ostream & Y2Log::get (unsigned which, unsigned level, const char *fil, const char *fnc, int lne)
ostream & Y2Log::dbg_get (const char *dbg_class, unsigned level, const char *fil, const char *fnc, int lne)


Define Documentation

#define _DBG  )     _LOG( c, 0 )
 

#define _ERR  )     _LOG( c, 3 )
 

#define _INT  )     _LOG( c, 5 )
 

#define _LOG c,
 )     Y2Log::get( c, l, __FILE__, __FUNCTION__, __LINE__ )
 

#define _MIL  )     _LOG( c, 1 )
 

#define _SEC  )     _LOG( c, 4 )
 

#define _WAR  )     _LOG( c, 2 )
 

#define D__   _DBG(Y2Log::C_TRACE)
 

#define DBG_CLASS   0
 

#define DDBG   Y2Log::dbg_get( DBG_CLASS, 0, __FILE__, __FUNCTION__, __LINE__ )
 

#define E__   _ERR(Y2Log::C_TRACE)
 

#define EDBG   Y2Log::dbg_get( DBG_CLASS, 3, __FILE__, __FUNCTION__, __LINE__ )
 

#define I__   _INT(Y2Log::C_TRACE)
 

#define IDBG   Y2Log::dbg_get( DBG_CLASS, 5, __FILE__, __FUNCTION__, __LINE__ )
 

#define IODBG   _DBG(Y2Log::C_NC_IO)
 

#define IOERR   _ERR(Y2Log::C_NC_IO)
 

#define IOINT   _INT(Y2Log::C_NC_IO)
 

#define IOMIL   _MIL(Y2Log::C_NC_IO)
 

#define IOSEC   _SEC(Y2Log::C_NC_IO)
 

#define IOWAR   _WAR(Y2Log::C_NC_IO)
 

#define M__   _MIL(Y2Log::C_TRACE)
 

#define MDBG   Y2Log::dbg_get( DBG_CLASS, 1, __FILE__, __FUNCTION__, __LINE__ )
 

#define NCDBG   _DBG(Y2Log::C_NC)
 

#define NCERR   _ERR(Y2Log::C_NC)
 

#define NCINT   _INT(Y2Log::C_NC)
 

#define NCMIL   _MIL(Y2Log::C_NC)
 

#define NCSEC   _SEC(Y2Log::C_NC)
 

#define NCWAR   _WAR(Y2Log::C_NC)
 

#define S__   _SEC(Y2Log::C_TRACE)
 

#define SDBG   Y2Log::dbg_get( DBG_CLASS, 4, __FILE__, __FUNCTION__, __LINE__ )
 

#define UIDBG   _DBG(Y2Log::C_Y2UI)
 

#define UIERR   _ERR(Y2Log::C_Y2UI)
 

#define UIINT   _INT(Y2Log::C_Y2UI)
 

#define UIMIL   _MIL(Y2Log::C_Y2UI)
 

#define UISEC   _SEC(Y2Log::C_Y2UI)
 

#define UIWAR   _WAR(Y2Log::C_Y2UI)
 

#define W__   _WAR(Y2Log::C_TRACE)
 

#define WDBG   Y2Log::dbg_get( DBG_CLASS, 2, __FILE__, __FUNCTION__, __LINE__ )
 

#define WIDDBG   _DBG(Y2Log::C_NC_WIDGET)
 

#define WIDERR   _ERR(Y2Log::C_NC_WIDGET)
 

#define WIDINT   _INT(Y2Log::C_NC_WIDGET)
 

#define WIDMIL   _MIL(Y2Log::C_NC_WIDGET)
 

#define WIDSEC   _SEC(Y2Log::C_NC_WIDGET)
 

#define WIDWAR   _WAR(Y2Log::C_NC_WIDGET)
 


Generated on Wed Sep 14 10:52:54 2005 for yast2-ncurses by  doxygen 1.4.4