-
Notifications
You must be signed in to change notification settings - Fork 1
Logging
Jump To | back |
---|
FAST provides a general purpose logging system to handle outputs based on the current ERROR_LEVEL. Implements the Logger constructor which can write to anything that implements the GenericOutput interface.
Dependencies: Core
DEBUGGER_ENABLE
Default: false
, when set to true
, this will enable debugging features in various modules, such as instantiating additional Loggers.
ERROR_LEVEL
Default: 4, used by Logger to determine whether or not a log command can be ignored. When set to 4, all log commands are processed. At 3, all debug messages are suppresed. 2 will suppress notify messages as well. 1 only shows critical messages. Setting this to 0 will effectively disable the built-in log commands.
ERROR_CRITICAL
Default: 1, the error level of critical messages.
ERROR_NONFATAL
Default: 2, the error level of nonfatal messages.
ERROR_NOTIFY
Default: 3, the error level of notify messages.
ERROR_DEBUG
Default: 4, the error level of debug messages.
Devon Mullane 2020