-
-
Notifications
You must be signed in to change notification settings - Fork 0
logger output
Nathanaël Cherrier (CI) edited this page Aug 26, 2019
·
1 revision
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.