vibe.d beta banner
get vibe.d
0.10.1

Asynchronous I/O that doesn’t get in your way, written in D

Module vibe.core.log

Central logging facility for vibe.

Functions

NameDescription
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

NameDescription
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

NameDescription
LogLine Represents a single logged line

Enums

NameDescription
LogLevel Specifies the log level for a particular log message.
SyslogFacility Syslog facilities
Authors

Sönke Ludwig

Copyright

© 2012-2014 Sönke Ludwig

License

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