Skip to main content

Logger

class Logger 

Constructors

constructor

public new Logger(): Logger

Properties

history

readonly public history: LogPayload[] = []

Accessors

onLogged

Triggered when a new message is logged.

Methods

debug

public debugpayload: stringLogPayload: void

Parameters


error

public errorpayload: stringLogPayload: void

Parameters


http

public httppayload: stringLogPayload: void

Parameters


info

public infopayload: stringLogPayload: void

Parameters


log

public logpayload: LogPayload: void

Parameters


profile

public profileid: stringpayload?: LogPayload: void

Parameters


silly

public sillypayload: stringLogPayload: void

Parameters


verbose

public verbosepayload: stringLogPayload: void

Parameters


warn

public warnpayload: stringLogPayload: void

Parameters