export Class
Logger ​
Constructor ​
ts
new Logger( level )
Parameter | Type | Description |
---|---|---|
level = LogLevel.Debug | undefined | LogLevel |
Properties ​
level : LogLevel
​
staticreadonly levels : Map
<LogLevel
, LogMethods
> ​
default: ...
Methods ​
debug( ...argumants ) ​
Parameter | Type | Description |
---|---|---|
...argumants | any[] |
Returns:
void
error( ...argumants ) ​
Parameter | Type | Description |
---|---|---|
...argumants | any[] |
Returns:
void
has( level ) ​
Parameter | Type | Description |
---|---|---|
level | LogLevel |
Returns:
boolean
info( ...argumants ) ​
Parameter | Type | Description |
---|---|---|
...argumants | any[] |
Returns:
void
warn( ...argumants ) ​
Parameter | Type | Description |
---|---|---|
...argumants | any[] |
Returns:
void