Skip to content

logger output

Nathanaël Cherrier (CI) edited this page Aug 26, 2019 · 1 revision

ILoggerOutput (interface)

interface ILoggerOutput {
  write(message: string): void
}

Description

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.

Methods

# write()

The method used to display text (debug messages, etc.)

write(message: string): void

Paramaters

  • message: the text that will be displayed

Returns

No return value.

Clone this wiki locally