ColoredLogMessage class
A log message that should be displayed with a specific color.
Notice that ColoredLogMessage bypasses the logging format string, hence is logged without the usual message metadata (time, level, etc.)
- Mixed in types
Constructors
- ColoredLogMessage(Object message, LogColor color)
-
const
Properties
Methods
-
getPrintable(
bool useColor) → Object -
The message to be printed out.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
This is called by the logging system even if the message is not logged,
so do not override this! Use
value
to return the actual printable representation of this message.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited