T
- public interface ConsoleLogger extends FormattedLogger<Object>, org.refcodes.logger.ColumnLayoutAccessor.ColumnLayoutProperty, org.refcodes.logger.ColumnLayoutAccessor.ColumnLayoutBuilder<ConsoleLogger>
org.refcodes.mixin.RowWidthAccessor.RowWidthBuilder<B extends org.refcodes.mixin.RowWidthAccessor.RowWidthBuilder<?>>, org.refcodes.mixin.RowWidthAccessor.RowWidthMutator, org.refcodes.mixin.RowWidthAccessor.RowWidthProperty
org.refcodes.textual.TableStyleAccessor.TableStyleBuilder<B extends org.refcodes.textual.TableStyleAccessor.TableStyleBuilder<?>>, org.refcodes.textual.TableStyleAccessor.TableStyleMutator, org.refcodes.textual.TableStyleAccessor.TableStyleProperty
org.refcodes.mixin.StandardPrintStreamAccessor.StandardPrintStreamBuilder<B extends org.refcodes.mixin.StandardPrintStreamAccessor.StandardPrintStreamBuilder<?>>, org.refcodes.mixin.StandardPrintStreamAccessor.StandardPrintStreamMutator, org.refcodes.mixin.StandardPrintStreamAccessor.StandardPrintStreamProperty
org.refcodes.mixin.ErrorPrintStreamAccessor.ErrorPrintStreamBuilder<B extends org.refcodes.mixin.ErrorPrintStreamAccessor.ErrorPrintStreamBuilder<?>>, org.refcodes.mixin.ErrorPrintStreamAccessor.ErrorPrintStreamMutator, org.refcodes.mixin.ErrorPrintStreamAccessor.ErrorPrintStreamProperty
org.refcodes.logger.ColumnLayoutAccessor.ColumnLayoutBuilder<B extends org.refcodes.logger.ColumnLayoutAccessor.ColumnLayoutBuilder<B>>, org.refcodes.logger.ColumnLayoutAccessor.ColumnLayoutMutator, org.refcodes.logger.ColumnLayoutAccessor.ColumnLayoutProperty
Modifier and Type | Method and Description |
---|---|
default void |
setLoggerLayout(String aLoggerLayout)
As the underlying configuration framework used by the
RuntimeLoggerSingleton cannot convert a String to an enum, we got
to provide such a method ourselves. |
default ConsoleLogger |
withColumnLayout(org.refcodes.logger.ColumnLayout aColumnLayout) |
default FormattedLogger<Object> |
withErrorPrintStream(PrintStream aErrorPrintStream) |
default FormattedLogger<Object> |
withEscapeCodes(boolean isEscCodesEnabled) |
default FormattedLogger<Object> |
withLeftBorder(boolean hasLeftBorder) |
default FormattedLogger<Object> |
withRightBorder(boolean hasRightBorder) |
default ConsoleLogger |
withRowWidth(int aRowWidth) |
default FormattedLogger<Object> |
withStandardPrintStream(PrintStream aStandardPrintStream) |
default ConsoleLogger |
withTableStyle(org.refcodes.textual.TableStyle aTableStyle) |
hasEscapeCodes, hasLeftBorder, hasRightBorder, setEscapeCodes, setLeftBorder, setLoggerStyle, setRightBorder
setTableStyle
getStandardPrintStream
setStandardPrintStream
default ConsoleLogger withColumnLayout(org.refcodes.logger.ColumnLayout aColumnLayout)
withColumnLayout
in interface org.refcodes.logger.ColumnLayoutAccessor.ColumnLayoutBuilder<ConsoleLogger>
default ConsoleLogger withTableStyle(org.refcodes.textual.TableStyle aTableStyle)
withTableStyle
in interface FormattedLogger<Object>
withTableStyle
in interface org.refcodes.textual.TableStyleAccessor.TableStyleBuilder<FormattedLogger<?>>
default ConsoleLogger withRowWidth(int aRowWidth)
withRowWidth
in interface FormattedLogger<Object>
withRowWidth
in interface org.refcodes.mixin.RowWidthAccessor.RowWidthBuilder<FormattedLogger<?>>
default FormattedLogger<Object> withEscapeCodes(boolean isEscCodesEnabled)
withEscapeCodes
in interface FormattedLogger<Object>
default FormattedLogger<Object> withLeftBorder(boolean hasLeftBorder)
withLeftBorder
in interface FormattedLogger<Object>
default FormattedLogger<Object> withRightBorder(boolean hasRightBorder)
withRightBorder
in interface FormattedLogger<Object>
default FormattedLogger<Object> withErrorPrintStream(PrintStream aErrorPrintStream)
withErrorPrintStream
in interface org.refcodes.mixin.ErrorPrintStreamAccessor.ErrorPrintStreamBuilder<FormattedLogger<Object>>
withErrorPrintStream
in interface FormattedLogger<Object>
default FormattedLogger<Object> withStandardPrintStream(PrintStream aStandardPrintStream)
withStandardPrintStream
in interface FormattedLogger<Object>
withStandardPrintStream
in interface org.refcodes.mixin.StandardPrintStreamAccessor.StandardPrintStreamBuilder<FormattedLogger<Object>>
default void setLoggerLayout(String aLoggerLayout)
RuntimeLoggerSingleton
cannot convert a String to an enum, we got
to provide such a method ourselves. When configuring programmatically use
ColumnLayoutAccessor.ColumnLayoutMutator.setColumnLayout(ColumnLayout)
, when using the
"runtimelogger-config.xml" use the property "loggerLayout" for this
method to be invoked. Valid arguments are as of the ColumnLayout
enumeration:
aTableStyle
- The style to use for the logger.Copyright © 2017. All rights reserved.