vibe.d beta banner
get vibe.d
0.8.4

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
format FileLogger.Format
infoFormat FileLogger.Format
useColors boolUse escape sequences to color log output.
minLevel LogLevel
multilineLogger boolWhether the logger can handle multiple lines in a single beginLine/endLine.

Methods

NameDescription
beginLine
endLine Finalizes a log line.
put Writes part of a log line message.
acceptsLevel
beginLine Starts a new log line.
log Legacy logging interface relying on dynamic memory allocation.

Enums

NameDescription
Format The 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.