Skip navigation links

Package org.refcodes.logger.alt.console

The 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.

See: Description

Package org.refcodes.logger.alt.console Description

The 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#getConsoleWidth() 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 SystemConsts#SYS_PROP_CONSOLE_WIDTH. You can also use the #setRowWidth(int) or #withRowWidth(int) method in order to programmatically set the console's row width.

Skip navigation links

Copyright © 2016. All rights reserved.