createLogger
Documentation / @discordeno/utils / createLogger
Function: createLogger()
createLogger(
__namedParameters
):object
Defined in: packages/utils/src/logger.ts:33
Parameters
__namedParameters
logLevel
LogLevels
= LogLevels.Info
name
string
Returns
object
debug()
debug: (...
args
) =>void
Parameters
args
...any
[]
Returns
void
error()
error: (...
args
) =>void
Parameters
args
...any
[]
Returns
void
fatal()
fatal: (...
args
) =>void
Parameters
args
...any
[]
Returns
void
info()
info: (...
args
) =>void
Parameters
args
...any
[]
Returns
void
log()
log: (
level
, ...args
) =>void
Parameters
level
args
...any
[]
Returns
void
setDepth()
setDepth: (
level
) =>void
Parameters
level
Returns
void
setLevel()
setLevel: (
level
) =>void
Parameters
level
Returns
void
warn()
warn: (...
args
) =>void
Parameters
args
...any
[]
Returns
void