#include <iostream>
#include <y2util/y2log.h>
Go to the source code of this file.
Namespaces | |
namespace | Y2SLog |
Defines | |
#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 |
#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, | |||
l | ) | Y2SLog::get( c"++", 1, __FILE__, __FUNCTION__, __LINE__ ) |
#define _Y2SLODDBG | ( | c, | |||
l | ) | Y2SLog::getdbg( c"-dbg++", 1, __FILE__, __FUNCTION__, __LINE__ ) |
#define _Y2SLOG | ( | c, | |||
l | ) | Y2SLog::get( c, l, __FILE__, __FUNCTION__, __LINE__ ) |
#define _Y2SLOGDBG | ( | c, | |||
l | ) | Y2SLog::getdbg( c"-dbg", l, __FILE__, __FUNCTION__, __LINE__ ) |
#define D__ _D__(Y2LOG) |
Referenced by ExternalProgram::checkStatus(), and ExternalProgram::start_program().
#define DBG _DBG(Y2LOG) |
Referenced by _Log_Result(), ExternalProgram::checkStatus(), PathInfo::chmod(), PathInfo::clean_dir(), PathInfo::copy(), PathInfo::copy_dir(), PathInfo::copy_file2dir(), PathInfo::hardlink(), PathInfo::mkdir(), PathInfo::readdir(), PathInfo::recursive_rmdir(), PathInfo::rename(), PathInfo::rmdir(), ExternalDataSource::send(), ExternalProgram::start_program(), PathInfo::symlink(), and PathInfo::unlink().
#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) |
Referenced by ExternalProgram::checkStatus().
#define Y2LOG "DEFINE_Y2LOG" |