Skip to content

Interface: Logger ​

The shape the SDK writes to. Deliberately the four methods every common logger already has, so a caller can usually pass theirs straight in.

Methods ​

debug() ​

ts
debug(message, ...args): void;

Parameters ​

message ​

string

args ​

...unknown[]

Returns ​

void


error() ​

ts
error(message, ...args): void;

Parameters ​

message ​

string

args ​

...unknown[]

Returns ​

void


info() ​

ts
info(message, ...args): void;

Parameters ​

message ​

string

args ​

...unknown[]

Returns ​

void


warn() ​

ts
warn(message, ...args): void;

Parameters ​

message ​

string

args ​

...unknown[]

Returns ​

void

Released under the MIT licence.