Module vibe.core.log
Central logging facility for vibe.
Functions
Name | Description |
---|---|
deregisterLogger(logger)
|
Deregisters an active logger instance. |
getLoggers()
|
Returns a list of all registered loggers. |
getLogLevel()
|
Gets the minimum log level used for stdout/stderr logging. |
log(fmt, args, mod, func, file, line)
|
Logs a message. |
logCritical(fmt, args, mod, func, file, line)
|
Logs a message. |
logDebug(fmt, args, mod, func, file, line)
|
Logs a message. |
logDebugV(fmt, args, mod, func, file, line)
|
Logs a message. |
logDiagnostic(fmt, args, mod, func, file, line)
|
Logs a message. |
logError(fmt, args, mod, func, file, line)
|
Logs a message. |
logException(exception, error_description, mod, func, file, line)
|
Logs an exception, including a debug stack trace. |
logFatal(fmt, args, mod, func, file, line)
|
Logs a message. |
logInfo(fmt, args, mod, func, file, line)
|
Logs a message. |
logTrace(fmt, args, mod, func, file, line)
|
Logs a message. |
logWarn(fmt, args, mod, func, file, line)
|
Logs a message. |
registerLogger(logger)
|
Registers a new logger instance. |
setLogFile(filename, min_level)
|
Sets a log file for disk file logging. |
setLogFormat(fmt, infoFmt)
|
Sets the log format used for the default console logger. |
setLogLevel(level)
|
Sets the minimum log level to be printed using the default console logger. |
Classes
Name | Description |
---|---|
FileLogger
|
Plain-text based logger for logging to regular files or stdout/stderr |
HTMLLogger
|
Logger implementation for logging to an HTML file with dynamic filtering support. |
Logger
|
Abstract base class for all loggers |
SyslogLogger
|
A logger that logs in syslog format according to RFC 5424. |
Structs
Name | Description |
---|---|
LogLine
|
Represents a single logged line |
Enums
Name | Description |
---|---|
LogLevel
|
Specifies the log level for a particular log message. |
SyslogFacility
|
Syslog facilities |