Logger
Implemented by
Index
Methods
error
Parameters
namespace: AnyString | LoggerNamespace
message: string
optionalcontext: LogContext
Returns void
isEnabled
Parameters
namespace: LoggerNamespace
optionalcontext: LogContext
Returns boolean
log
Logs a message inside given namespace.
Parameters
namespace: AnyString | LoggerNamespace
message: string
optionalcontext: LogContext
Returns void
logQuery
Logs a message inside given namespace.
Parameters
context: LogContext
Returns void
setDebugMode
Sets active namespaces. Pass
true
to enable all logging.Parameters
debugMode: boolean | LoggerNamespace[]
Returns void
warn
Logs warning message inside given namespace.
Parameters
namespace: AnyString | LoggerNamespace
message: string
optionalcontext: LogContext
Returns void
Logs error message inside given namespace.