ntcore-ts / @ntcore-ts/react / LogLevel
Enumeration: LogLevel
Defined in: client/src/lib/util/logger.ts:14
Log levels available for configuration. These map to tslog's log levels:
- TRACE = 1 (tslog's trace)
- DEBUG = 2 (tslog's debug)
- INFO = 3 (tslog's info)
- WARN = 4 (tslog's warn)
- ERROR = 5 (tslog's error)
- FATAL = 6 (tslog's fatal)
- SILENT = 99 (disable all logging, not a tslog level)
Enumeration Members
DEBUG
DEBUG:
2
Defined in: client/src/lib/util/logger.ts:18
Detailed debugging information (maps to tslog's debug level 2)
ERROR
ERROR:
5
Defined in: client/src/lib/util/logger.ts:24
Error messages (maps to tslog's error level 5)
FATAL
FATAL:
6
Defined in: client/src/lib/util/logger.ts:26
Fatal error messages (maps to tslog's fatal level 6)
INFO
INFO:
3
Defined in: client/src/lib/util/logger.ts:20
General informational messages (maps to tslog's info level 3)
SILENT
SILENT:
99
Defined in: client/src/lib/util/logger.ts:28
Disable all logging (uses 99, not a tslog level)
TRACE
TRACE:
1
Defined in: client/src/lib/util/logger.ts:16
Very detailed debugging information (maps to tslog's trace level 1)
WARN
WARN:
4
Defined in: client/src/lib/util/logger.ts:22
Warning messages (maps to tslog's warn level 4)