BasicMessage

Represents a basic message with log level information associated with it as well as text

Constructors

this
this(string text, Level level)

Constructs a new BasicMessage with the given text and log level

this
this()

Constructs an empty message with the highest log level (least verbose)

Members

Functions

getLevel
Level getLevel()

Returns the log level

getText
string getText()

Returns the text

setLevel
void setLevel(Level level)

Sets the log level

setText
void setText(string text)

Sets the text

Meta