SharedLogger
Extends:
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public get |
utilName: * |
Private Members | ||
private get |
_initiator: * |
|
private |
_services: *[] |
Method Summary
Public Methods | ||
public |
debug(args: ...*) |
|
public |
endTime(args: ...*) |
|
public |
error(args: ...*) |
|
public |
info(args: ...*) |
|
public |
startTime(args: ...*) |
|
public |
uncaught(args: ...*) |
|
public |
verbose(args: ...*) |
|
public |
warn(args: ...*) |
Private Methods | ||
private |
_getCallerFile(): * |
|
private |
_getContext(loggerArguments: *): {"line": *, "index": *, "clean": *, "stack": *} |
|
private |
_log(args: ...*) |
|
private |
_logConsole(initiator: *, level: *, context: *, args: *, dateFormat: string) |
Public Constructors
public constructor() source
Public Members
public get utilName: * source
Private Members
private get _initiator: * source
private _services: *[] source
Public Methods
public debug(args: ...*) source
Params:
Name | Type | Attribute | Description |
args | ...* |
public endTime(args: ...*) source
Params:
Name | Type | Attribute | Description |
args | ...* |
public error(args: ...*) source
Params:
Name | Type | Attribute | Description |
args | ...* |
public info(args: ...*) source
Params:
Name | Type | Attribute | Description |
args | ...* |
public startTime(args: ...*) source
Params:
Name | Type | Attribute | Description |
args | ...* |
public uncaught(args: ...*) source
Params:
Name | Type | Attribute | Description |
args | ...* |
public verbose(args: ...*) source
Params:
Name | Type | Attribute | Description |
args | ...* |
public warn(args: ...*) source
Params:
Name | Type | Attribute | Description |
args | ...* |
Private Methods
private _getContext(loggerArguments: *): {"line": *, "index": *, "clean": *, "stack": *} source
Params:
Name | Type | Attribute | Description |
loggerArguments | * |
Return:
{"line": *, "index": *, "clean": *, "stack": *} |
private _log(args: ...*) source
Params:
Name | Type | Attribute | Description |
args | ...* |
private _logConsole(initiator: *, level: *, context: *, args: *, dateFormat: string) source
Params:
Name | Type | Attribute | Description |
initiator | * | ||
level | * | ||
context | * | ||
args | * | ||
dateFormat | string |
|