Skip to content

Interface: ILogMethod() ​

A log method: an object (or error) with an optional message, or a message with its format arguments

Call Signature ​

ILogMethod<T>(obj, msg?, ...args): void

A log method: an object (or error) with an optional message, or a message with its format arguments

Type Parameters ​

T ​

T extends object

Parameters ​

obj ​

T

msg? ​

string

args ​

...any[]

Returns ​

void

Call Signature ​

ILogMethod(obj, msg?, ...args): void

A log method: an object (or error) with an optional message, or a message with its format arguments

Parameters ​

obj ​

unknown

msg? ​

string

args ​

...any[]

Returns ​

void

Call Signature ​

ILogMethod(msg, ...args): void

A log method: an object (or error) with an optional message, or a message with its format arguments

Parameters ​

msg ​

string

args ​

...any[]

Returns ​

void

Released under the MIT License.