Class LogConfig
java.lang.Object
dev.prozilla.pine.core.state.config.LogConfig
Manages configuration options related to logging.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal ConfigOption
<Boolean> Defaults totrue
.final ConfigOption
<Boolean> Defaults totrue
.static final ConfigKey
<LogHandler> final ConfigOption
<LogHandler> Log handler for the error log level.static final ConfigKey
<LogHandler> final ConfigOption
<LogHandler> Log handler for the output log level.final ConfigOption
<String> Prefix to add to all logged strings. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ENABLE_LOGS
-
PREFIX
-
OUTPUT_LAYER
-
ERROR_LAYER
-
ENABLE_ANSI
-
enableLogs
Defaults totrue
. -
prefix
Prefix to add to all logged strings. Defaults to a formatted badge with label"app"
. -
outputHandler
Log handler for the output log level. Defaults toStandardOutputLogHandler
. -
errorHandler
Log handler for the error log level. Defaults toStandardErrorLogHandler
. -
enableAnsi
Defaults totrue
.
-
-
Constructor Details
-
LogConfig
public LogConfig()
-