Log

Undocumented in source.

Members

Properties

debugEnabled
bool debugEnabled [@property getter]

returns true if debug log level is enabled

mutex
Mutex mutex [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
traceEnabled
bool traceEnabled [@property getter]

returns true if trace log level is enabled

warnEnabled
bool warnEnabled [@property getter]

returns true if warn log level is enabled

Static functions

d
void d(S args)

Log debug message

e
void e(S args)

Log error message

f
void f(S args)

Log fatal error message

fd
void fd(S args)

Log debug message with format string

fe
void fe(S args)

Log error message

ff
void ff(S args)

Log fatal error message

fi
void fi(S args)

Log info message

fv
void fv(S args)

Log verbose / trace message with format string

fw
void fw(S args)

Log warn message

i
void i(S args)

Log info message

isLogLevelEnabled
bool isLogLevelEnabled(LogLevel level)

returns true if messages for level are enabled

log
void log(LogLevel level, S args)

Log message with arbitrary log level

logLevelName
string logLevelName(LogLevel level)

Log level to name helper function

logf
void logf(LogLevel level, string fmt, S args)

Log message with arbitrary log level with format string

setFileLogger
void setFileLogger(File* file)

Redirects output to file

setLogLevel
void setLogLevel(LogLevel level)

Sets log level (one of LogLevel)

setLogTag
void setLogTag(char* tag)
Undocumented in source. Be warned that the author may not have intended to support it.
setStderrLogger
void setStderrLogger()

Redirects output to stderr

setStdoutLogger
void setStdoutLogger()

Redirects output to stdout

toAndroidLogPriority
android_LogPriority toAndroidLogPriority(LogLevel level)
Undocumented in source. Be warned that the author may not have intended to support it.
v
void v(S args)

Log verbose / trace message

w
void w(S args)

Log warn message

Meta