vibe.d beta banner
get vibe.d
0.10.0

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.
GetStdHandle(nStdHandle)
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.
logException(exception, error_description) Logs an exception, including a debug stack trace.
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
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.

Manifest constants

NameTypeDescription
STD_ERROR_HANDLE
STD_OUTPUT_HANDLE
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.