Constructors
constructor
-
new Logger(__namedParameters?): Logger
-
Accessors
Static
ENV_VARIABLE_NAME
-
get
ENV_VARIABLE_NAME(): string
-
Returns string
Methods
debug
-
debug(message,
extra?): void
-
Parameters
-
message:
string
-
extra:
Record<string, unknown> = {}
Returns void
error
-
error(message,
extra?): void
-
Parameters
-
message:
string
-
extra:
Record<string, unknown> = {}
Returns void
fatal
-
fatal(message,
extra?): void
-
Parameters
-
message:
string
-
extra:
Record<string, unknown> = {}
Returns void
info
-
info(message,
extra?): void
-
Parameters
-
message:
string
-
extra:
Record<string, unknown> = {}
Returns void
trace
-
trace(message,
extra?): void
-
Parameters
-
message:
string
-
extra:
Record<string, unknown> = {}
Returns void
warn
-
warn(message,
extra?): void
-
Parameters
-
message:
string
-
extra:
Record<string, unknown> = {}
Returns void
Static
getLevel
-
getLevel(env_name?): LevelWithSilent
-
Returns
LevelWithSilent