Constructors
constructor
-
Parameters
Properties
Private _firstTime
_firstTime: any
Private _logLevel
_logLevel: any
Private namespace
namespace: any
Accessors
logLevel
-
Returns string | LogLevel
-
Parameters
Returns any
Methods
debug
- debug(message: string | null, ...optionalParams: any[]): void
-
Parameters
-
message: string | null
-
Rest ...optionalParams: any[]
Returns void
error
- error(message: any | null, ...optionalParams: any[]): void
-
Parameters
-
message: any | null
-
Rest ...optionalParams: any[]
Returns void
info
- info(message: any | null, ...optionalParams: any[]): void
-
Parameters
-
message: any | null
-
Rest ...optionalParams: any[]
Returns void
measure
- measure<T>(func: (...any: any[]) => Promise<T>, thisArg: any, argsArray: any, message: any, ...optionalParams: any[]): Promise<T>
-
Type parameters
Parameters
-
func: (...any: any[]) => Promise<T>
-
- (...any: any[]): Promise<T>
-
Parameters
Returns Promise<T>
-
thisArg: any
-
argsArray: any
-
message: any
-
Rest ...optionalParams: any[]
Returns Promise<T>
result of the run
measureSync
- measureSync<T_2>(func: (...any: any[]) => T_2, thisArg: any, argsArray: any, message: any, ...optionalParams: any[]): T_2
-
Type parameters
Parameters
-
func: (...any: any[]) => T_2
-
thisArg: any
-
argsArray: any
-
message: any
-
Rest ...optionalParams: any[]
Returns T_2
result of the function
result
- result(message: any | null, ...optionalParams: any[]): void
-
Parameters
-
message: any | null
-
Rest ...optionalParams: any[]
Returns void
warn
- warn(message: any | null, ...optionalParams: any[]): void
-
Parameters
-
message: any | null
-
Rest ...optionalParams: any[]
Returns void
Static confirm
-
Parameters
Returns boolean
Construct Logger Class;