Package dev.prozilla.pine.common.logging
Class AppLogger
java.lang.Object
dev.prozilla.pine.common.logging.Logger
dev.prozilla.pine.common.logging.AppLogger
- All Implemented Interfaces:
Lifecycle
,LogHandler
Logger for the core application.
Automatically reads the application's config and updates the logging accordingly.
-
Field Summary
Fields inherited from class dev.prozilla.pine.common.logging.Logger
enableAnsi, enabled, errorLogHandler, outputLogHandler, prefix, system
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
init()
Initializes this logger by reading the application's configuration and creating listeners.Methods inherited from class dev.prozilla.pine.common.logging.Logger
disableAnsi, enableAnsi, error, error, formatBadge, formatBadge, formatPath, isErrorActive, isOutputActive, log, log, log, log, log, log, log, log, log, log, logf, logPath, redirect, setEnabled, setPrefix, trace
-
Constructor Details
-
AppLogger
-
-
Method Details
-
init
public void init()Initializes this logger by reading the application's configuration and creating listeners.
-