CAPD::DynSys Library  6.0.0
capd::auxil::Logger Class Reference

#include <capd/auxil/LoggerConsole.h>

Public Member Functions

 Logger (const std::string &fileName, const std::string &buildDir="", bool global=false)
 
std::string name () const
 
bool isInfoEnabled () const
 
bool isWarnEnabled () const
 
bool isErrorEnabled () const
 
bool isFatalEnabled () const
 
bool isTraceEnabled () const
 
bool isDebugEnabled () const
 
void forcedLogInfo (const std::string &msg, const char *const fileName, const char *const functionName, int lineNumber)
 
void forcedLogWarn (const std::string &msg, const char *const fileName, const char *const functionName, int lineNumber)
 
void forcedLogError (const std::string &msg, const char *const fileName, const char *const functionName, int lineNumber)
 
void forcedLogFatal (const std::string &msg, const char *const fileName, const char *const functionName, int lineNumber)
 
void forcedLogTrace (const std::string &msg, const char *const fileName, const char *const functionName, int lineNumber)
 
void forcedLogDebug (const std::string &msg, const char *const fileName, const char *const functionName, int lineNumber)
 
 Logger (const std::string &fileName, const std::string &buildDir="", bool global=false)
 
std::ostream & operator() ()
 

Static Public Member Functions

static void * init ()
 

Constructor & Destructor Documentation

◆ Logger() [1/2]

Logger::Logger ( const std::string &  fileName,
const std::string &  buildDir = "",
bool  global = false 
)

◆ Logger() [2/2]

capd::auxil::Logger::Logger ( const std::string &  fileName,
const std::string &  buildDir = "",
bool  global = false 
)
inline

Member Function Documentation

◆ forcedLogDebug()

void Logger::forcedLogDebug ( const std::string &  msg,
const char *const  fileName,
const char *const  functionName,
int  lineNumber 
)

◆ forcedLogError()

void Logger::forcedLogError ( const std::string &  msg,
const char *const  fileName,
const char *const  functionName,
int  lineNumber 
)

◆ forcedLogFatal()

void Logger::forcedLogFatal ( const std::string &  msg,
const char *const  fileName,
const char *const  functionName,
int  lineNumber 
)

◆ forcedLogInfo()

void Logger::forcedLogInfo ( const std::string &  msg,
const char *const  fileName,
const char *const  functionName,
int  lineNumber 
)

◆ forcedLogTrace()

void Logger::forcedLogTrace ( const std::string &  msg,
const char *const  fileName,
const char *const  functionName,
int  lineNumber 
)

◆ forcedLogWarn()

void Logger::forcedLogWarn ( const std::string &  msg,
const char *const  fileName,
const char *const  functionName,
int  lineNumber 
)

◆ init()

static void* capd::auxil::Logger::init ( )
inlinestatic

◆ isDebugEnabled()

bool Logger::isDebugEnabled ( ) const

◆ isErrorEnabled()

bool Logger::isErrorEnabled ( ) const

◆ isFatalEnabled()

bool Logger::isFatalEnabled ( ) const

◆ isInfoEnabled()

bool Logger::isInfoEnabled ( ) const

◆ isTraceEnabled()

bool Logger::isTraceEnabled ( ) const

◆ isWarnEnabled()

bool Logger::isWarnEnabled ( ) const

◆ name()

std::string capd::auxil::Logger::name ( ) const
inline

◆ operator()()

std::ostream& capd::auxil::Logger::operator() ( )
inline

The documentation for this class was generated from the following files: