Logger

Constructors

this
this(LogConf conf, LogLayoutHandler handler)
Undocumented in source.

Members

Functions

conf
LogConf conf()
Undocumented in source. Be warned that the author may not have intended to support it.
critical
void critical(A args)
Undocumented in source. Be warned that the author may not have intended to support it.
criticalf
void criticalf(A args)
Undocumented in source. Be warned that the author may not have intended to support it.
doWrite
void doWrite(LogLevel level, string msg)
Undocumented in source. Be warned that the author may not have intended to support it.
error
void error(A args)
Undocumented in source. Be warned that the author may not have intended to support it.
errorf
void errorf(A args)
Undocumented in source. Be warned that the author may not have intended to support it.
info
void info(A args)
Undocumented in source. Be warned that the author may not have intended to support it.
infof
void infof(A args)
Undocumented in source. Be warned that the author may not have intended to support it.
isRunning
bool isRunning()
Undocumented in source. Be warned that the author may not have intended to support it.
log
void log(LogLevel level, A args)
Undocumented in source. Be warned that the author may not have intended to support it.
logLayoutHandler
void logLayoutHandler(LogLayoutHandler handler)
Undocumented in source. Be warned that the author may not have intended to support it.
logf
void logf(LogLevel level, A args)
Undocumented in source. Be warned that the author may not have intended to support it.
saveMsg
void saveMsg(string msg)
Undocumented in source. Be warned that the author may not have intended to support it.
stop
void stop()
Undocumented in source. Be warned that the author may not have intended to support it.
trace
void trace(A args)
Undocumented in source. Be warned that the author may not have intended to support it.
tracef
void tracef(A args)
Undocumented in source. Be warned that the author may not have intended to support it.
warning
void warning(A args)
Undocumented in source. Be warned that the author may not have intended to support it.
warningf
void warningf(A args)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

PRINT_COLOR_GREEN
enum PRINT_COLOR_GREEN;
Undocumented in source.
PRINT_COLOR_NONE
enum PRINT_COLOR_NONE;
Undocumented in source.
PRINT_COLOR_RED
enum PRINT_COLOR_RED;
Undocumented in source.
PRINT_COLOR_YELLOW
enum PRINT_COLOR_YELLOW;
Undocumented in source.

Static functions

createLogger
Logger createLogger(string name, LogConf conf)
Undocumented in source. Be warned that the author may not have intended to support it.
createPath
void createPath(string fileFullName)
Undocumented in source. Be warned that the author may not have intended to support it.
getLogger
Logger getLogger(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
logFormat
string logFormat(A args)
Undocumented in source. Be warned that the author may not have intended to support it.
logFormatf
string logFormatf(A args)
Undocumented in source. Be warned that the author may not have intended to support it.
setLogLevel
void setLogLevel(LogLevel level)
Undocumented in source. Be warned that the author may not have intended to support it.
toFormat
string toFormat(string func, string msg, string file, size_t line, LogLevel level, LogLayoutHandler handler)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString(LogLevel level)
Undocumented in source. Be warned that the author may not have intended to support it.
worker
void worker(void* ptr)
Undocumented in source. Be warned that the author may not have intended to support it.
writeFormatColor
void writeFormatColor(LogLevel level, string msg)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

g_logger
Logger[string] g_logger;
Undocumented in source.

Variables

_conf
LogConf _conf;
Undocumented in source.
_file
File _file;
Undocumented in source.
_rollover
SizeBaseRollover _rollover;
Undocumented in source.
_tid
Tid _tid;
Undocumented in source.

Meta