logger: { error: any; log: any; warn: any } = ...
Type declaration
-
error:function
- error(tag: string, ...messages: any[]): void
-
Parameters
-
tag: string
-
Rest
...messages: any[]
Returns void
-
log:function
- log(tag: string, ...messages: any[]): void
-
Parameters
-
tag: string
-
Rest
...messages: any[]
Returns void
-
warn:function
- warn(tag: string, ...messages: any[]): void
-
Parameters
-
tag: string
-
Rest
...messages: any[]
Returns void
A simple tagged logger.
You can replace the methods with your own ones.