Class ConsoleAppender
java.lang.Object
de.oliver.fancyanalytics.logger.appender.ConsoleAppender
- All Implemented Interfaces:
Appender
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ConsoleAppender
-
ConsoleAppender
public ConsoleAppender()
-
-
Method Details
-
append
Appends a log entry to the console. The log entry is formatted according to the specified format and printed to the standard output stream.Placeholders:
- {loggerName} - The name of the logger.
- {timestamp} - The timestamp of the log entry.
- {threadName} - The name of the thread that generated the log entry.
- {logLevel} - The severity level of the log entry.
- {message} - The message of the log entry. -
close
public void close()Description copied from interface:AppenderCloses the appender and releases any resources associated with it. This method should be called when the appender is no longer needed to ensure that all underlying resources are properly disposed of.
-