Logger<T>
, QueryLogger<T>
, RuntimeLogger
, TrimLogger<T>
CompositeLoggerImpl
, CompositeQueryLoggerImpl
, CompositeTrimLoggerImpl
, PartedLoggerImpl
, PartedQueryLoggerImpl
, PartedTrimLoggerImpl
, RuntimeLoggerImpl
, RuntimeLoggerSingleton
, SystemLogger
public interface LogDecorator
LogDecorator
provides means to beautify or enrich logs for
example when printing user friendly logs to the console. Calling the methods
of this decorator might have no effect, depending on the logger implementing
these methods. This is because decorating information adds no additional
information value than just beautifying log output.Modifier and Type | Method | Description |
---|---|---|
default void |
printHead() |
Prints the logger's head in case it hasn't been printed before or
printTail() has been called. |
default void |
printSeparator() |
Prints a separator line in case the underlying
Logger supports
the such. |
default void |
printTail() |
Prints the logger's tail in case it hasn't been printed before or
printHead() has been called. |
default void printSeparator()
Logger
supports
the such. A separator line may be printed just as of beautifying purposes
and does not belong to the actual log's data. Therefore this method may
just do nothing, depending on the implementing class.default void printHead()
printTail()
has been called. Printing the head might result in
printing out the additional logger's information such as the column
names.default void printTail()
printHead()
has been called. Printing the tail might result in
printing out the additional logger's information or visually finishing
the current log sequence.Copyright © 2021. All rights reserved.