logger output - mindsers/yabf GitHub Wiki
interface ILoggerOutput {
write(message: string): void
}
This interface represents an object that can actually be used to catch log messages. LoggerService
send its formatted message to an intance of ILoggerOutput
.
It is a "contract" to work w/ LoggerService
.
The method used to display text (debug messages, etc.)
write(message: string): void
-
message
: the text that will be displayed
No return value.