DEBUG
, INFO
, WARNING
, ERROR
, and NONE
.
This allows simple and powerful filtering of log messages so that you can, for example, print
debug messages to the local console and send error messages to an external aggregator.
PrimerLog
defines various log types for the logging system.
PrimerLogger
, like so:
logger
property:
logLevel
property like
so:
PrimerLogLevel.NONE
.
DEBUG
or any other log level to the default logger by simply calling: