vibe.d beta banner
get vibe.d
0.8.0

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

Class FileLogger

Plain-text based logger for logging to regular files or stdout/stderr

class FileLogger
  : Logger ;

Constructors

NameDescription
this
this

Fields

NameTypeDescription
formatFileLogger.Format
infoFormatFileLogger.Format
minLevelLogLevel
multilineLoggerboolWhether the logger can handle multiple lines in a single beginLine/endLine.

Methods

NameDescription
beginLine
endLineFinalizes a log line.
putWrites part of a log line message.
acceptsLevel
beginLineStarts a new log line.
logLegacy logging interface relying on dynamic memory allocation.

Enums

NameDescription
FormatThe log format used by the FileLogger
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.