library/logger/logger.cc

struct Private

Public Types

typedef std::set<logger *> LoggerSet

Public Functions

void logCout(ELevel level, const string &message, const Location &loc)
void logCerr(ELevel level, const string &message, const Location &loc)

Public Members

const char *fLogger
ELevel fThreshold

Public Static Functions

static LoggerSet *AllLoggers()
static size_t getTimeAbsoluteStr()
static const char *level2Str(ELevel level)
static string level2Color(ELevel level)

Public Static Attributes

mutex sMutex
char sDateTimeFormat
time_t sRawTime
tm *sProcessedTime
char sTimeBuff
bool fColored = true
std::ostream *fOut = &cout
std::ostream *fErr = &cerr
namespace scarab

The standard scarab namespace.

Functions

const string &EndColor()
const string &FatalColor()
const string &ErrorColor()
const string &WarnColor()
const string &InfoColor()
const string &ProgColor()
const string &DebugColor()
const string &TraceColor()
const string &OtherColor()