vibe.d beta banner
get vibe.d
0.7.30

Module vibe.core.log

Central logging facility for vibe.

Functions

NameDescription
deregisterLogger(logger)Deregisters an active logger instance.
log(fmt, args)Logs a message.
logCritical(fmt, args)Logs a message.
logDebug(fmt, args)Logs a message.
logDebugV(fmt, args)Logs a message.
logDiagnostic(fmt, args)Logs a message.
logError(fmt, args)Logs a message.
logFatal(fmt, args)Logs a message.
logInfo(fmt, args)Logs a message.
logTrace(fmt, args)Logs a message.
logWarn(fmt, args)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

NameDescription
FileLoggerPlain-text based logger for logging to regular files or stdout/stderr
HTMLLoggerLogger implementation for logging to an HTML file with dynamic filtering support.
LoggerAbstract base class for all loggers
SyslogLoggerA logger that logs in syslog format according to RFC 5424.

Structs

NameDescription
LogLineRepresents a single logged line

Enums

NameDescription
LogLevelSpecifies the log level for a particular log message.
Authors

Sönke Ludwig

Copyright

© 2012-2014 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.