Class Logger

Class Documentation

class Logger

Public Types

enum logLevels

Values:

enumerator ERROR_LEV
enumerator EXCEPTION
enumerator WARNING
enumerator INFO
enumerator DETAIL

Public Functions

std::ostream &entry(enum logLevels level, const char *file = 0, int line = -1)
void setEnabled(bool enabled)
void setLevel(enum logLevels newLevel)
void setStream(std::ostream *stream)
void hookFatalSignals()

Public Static Functions

static Logger &instance()

Public Static Attributes

static const char *levelNames[]

Friends

friend void loggerTermHandler(int signal)