Class LoggerHelperService
Properties
Private
colorSet
colorSet: any
Private
logColors
logColors: any
Methods
Private
checkErrorInstance
- checkErrorInstance(params): any[]
Returns any[]
formatMessage
- formatMessage(message, params): string
Parameters
- message: string
- params: any[]
Returns string
getColorAsType
- getColorAsType(type): string
Returns string
getColorByName
- getColorByName(name?): any
Returns any
Private
getColorSet
- getColorSet(): {
Black: number;
Blue: number;
Cyan: number;
Green: number;
Grey: number;
Magenta: number;
Red: number;
White: number;
Yellow: number;
} | {
Black: string;
Blue: string;
Cyan: string;
Green: string;
Grey: string;
Magenta: string;
Red: string;
White: string;
Yellow: string;
} Returns {
Black: number;
Blue: number;
Cyan: number;
Green: number;
Grey: number;
Magenta: number;
Red: number;
White: number;
Yellow: number;
} | {
Black: string;
Blue: string;
Cyan: string;
Green: string;
Grey: string;
Magenta: string;
Red: string;
White: string;
Yellow: string;
}
isBrowser
- isBrowser(): boolean
Returns boolean
isNode
- isNode(): boolean
Returns boolean