Logger
Usage: const Logger = require('path/to/logger');
Logger.info "message" (alias of Logger.default.info) Logger.category.info "message" ("category" must be defined on log4js settings)
Static Member Summary
Static Public Members | ||
public static |
[category]: * |
Static Private Members | ||
private static |
|
Static Method Summary
Static Public Methods | ||
public static |
debug(str: *) |
|
public static |
defaultLogger(): * |
|
public static |
error(str: *) |
|
public static |
fatal(str: *) |
|
public static |
info(str: *) |
|
public static |
initialize(config: *) |
|
public static |
trace(str: *) |
|
public static |
warn(str: *) |
Method Summary
Public Methods | ||
public |
debug(str: *) |
|
public |
error(str: *) |
|
public |
fatal(str: *) |
|
public |
info(str: *) |
|
public |
trace(str: *) |
|
public |
warn(str: *) |
Static Public Members
public static [category]: * source
Static Private Members
private static __defaultLogger__: * source
Static Public Methods
public static debug(str: *) source
Params:
Name | Type | Attribute | Description |
str | * |
public static error(str: *) source
Params:
Name | Type | Attribute | Description |
str | * |
public static fatal(str: *) source
Params:
Name | Type | Attribute | Description |
str | * |
public static info(str: *) source
Params:
Name | Type | Attribute | Description |
str | * |
public static initialize(config: *) source
Params:
Name | Type | Attribute | Description |
config | * |
public static trace(str: *) source
Params:
Name | Type | Attribute | Description |
str | * |
public static warn(str: *) source
Params:
Name | Type | Attribute | Description |
str | * |
Public Methods
public debug(str: *) source
Params:
Name | Type | Attribute | Description |
str | * |
public error(str: *) source
Params:
Name | Type | Attribute | Description |
str | * |
public fatal(str: *) source
Params:
Name | Type | Attribute | Description |
str | * |
public info(str: *) source
Params:
Name | Type | Attribute | Description |
str | * |
public trace(str: *) source
Params:
Name | Type | Attribute | Description |
str | * |
public warn(str: *) source
Params:
Name | Type | Attribute | Description |
str | * |