ConsoleLoggerImpl
implements the
Logger
interface for providing logging
functionality for extended pimped console output (via System.out
and
System.err
to be used by RuntimeLogger
implementations.
The ConsoleLoggerImpl
by default uses
the SystemUtility.getTerminalWidth()
method,
which determines the width in characters of the system's console in use. In
case you pass a "-Dconsole.width=n
" JVM argument, then your
width is taken, else the actual console's width is being tried to be
determined. See also SystemProperty.CONSOLE_WIDTH
.
You can also use the RowWidthAccessor.RowWidthMutator.setRowWidth(int)
or
ConsoleLogger.withRowWidth(int)
method in order to programmatically
set the console's row width.
Interface | Description |
---|---|
ConsoleLogger |
The Interface ConsoleLogger.
|
FormattedLogger<T> |
The
FormattedLogger interface defines the methods to do pretty
logging to the console's output- or error-streams. |
Class | Description |
---|---|
ConsoleLoggerHeaderImpl |
The Class ConsoleLoggerHeaderImpl.
|
ConsoleLoggerImpl |
Specialized subclass of the
FormattedLoggerImpl for handling
RuntimeLogger 's logs with ANSI Escape-Codes. |
ConsoleLoggerSingleton |
This
ConsoleLoggerSingleton provides a ConsoleLoggerImpl
singleton . |
FormattedLoggerImpl<T> |
The
FormattedLoggerImpl implements the Logger interface for
providing logging functionality with extended pimped console output (via
System.out and (via sub-classing also System.err ). |
Enum | Description |
---|---|
FormattedLoggerImpl.OutputPrintStream |
The Enum OutputPrintStream.
|
Copyright © 2018. All rights reserved.