T
- public interface ConsoleLogger<T> extends org.refcodes.logger.Logger<T>, org.refcodes.mixin.RowWidthAccessor.RowWidthProperty, org.refcodes.mixin.RowWidthAccessor.RowWidthBuilder<ConsoleLogger<?>>, org.refcodes.textual.TableStyleAccessor.TableStyleProperty, org.refcodes.textual.TableStyleAccessor.TableStyleBuilder<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
Modifier and Type | Method and Description |
---|---|
PrintStream |
getErrStream() |
PrintStream |
getOutStream() |
boolean |
hasLeftBorder() |
boolean |
hasRightBorder() |
void |
setErrStream(PrintStream aErrStream) |
void |
setEscCodes(boolean isEscCodesEnabled) |
void |
setLeftBorder(boolean hasLeftBorder) |
void |
setOutStream(PrintStream aOutStream) |
void |
setRightBorder(boolean hasRightBorder) |
void |
setTableStyleName(String aTableStyleName)
As the underlying configuration framework used by the
RuntimeLoggerSingleton cannot convert a String to an enum, we got
to provide such a method ourselves. |
ConsoleLogger<T> |
withErrStream(PrintStream aErrStream) |
ConsoleLogger<T> |
withEscCodes(boolean isEscCodesEnabled) |
ConsoleLogger<T> |
withLeftBorder(boolean hasLeftBorder) |
ConsoleLogger<T> |
withOutStream(PrintStream aOutStream) |
ConsoleLogger<T> |
withRightBorder(boolean hasRightBorder) |
PrintStream getOutStream()
void setOutStream(PrintStream aOutStream)
PrintStream getErrStream()
void setErrStream(PrintStream aErrStream)
void setTableStyleName(String aTableStyleName)
RuntimeLoggerSingleton
cannot convert a String to an enum, we got
to provide such a method ourselves. When configuring programmatically use
RowWidthAccessor.RowWidthMutator.setRowWidth(int)
or RowWidthAccessor.RowWidthBuilder.withRowWidth(int)
, when using the
"runtimelogger-config.xml" ise the property "tableStyleName" for this
method to be invoked. Valid arguments are as of the TableStyle
enumeration:
aTableStyleName
- void setEscCodes(boolean isEscCodesEnabled)
boolean hasLeftBorder()
void setLeftBorder(boolean hasLeftBorder)
boolean hasRightBorder()
void setRightBorder(boolean hasRightBorder)
ConsoleLogger<T> withOutStream(PrintStream aOutStream)
ConsoleLogger<T> withErrStream(PrintStream aErrStream)
ConsoleLogger<T> withEscCodes(boolean isEscCodesEnabled)
ConsoleLogger<T> withLeftBorder(boolean hasLeftBorder)
ConsoleLogger<T> withRightBorder(boolean hasRightBorder)
Copyright © 2017. All rights reserved.