public class LogConfiguration extends Configuration
| Constructor and Description |
|---|
LogConfiguration()
Creates new instance.
|
LogConfiguration(boolean verbose)
Creates new instance.
|
LogConfiguration(int maxBufferRecords,
boolean verbose)
Creates a new configuration instance.
|
LogConfiguration(LogConfiguration that)
Creates new instance from existing instance.
|
LogConfiguration(LogConfiguration that,
java.util.Map options)
Creates new instance from existing instance.
|
| Modifier and Type | Method and Description |
|---|---|
Configuration |
copy() |
int |
getMaxBufferRecords()
Returns max buffer records value.
|
boolean |
getVerbose()
Gets whether verbose logging is enabled.
|
void |
setMaxBufferRecords(int value)
Sets max buffer records value.
|
void |
setVerbose(boolean value)
Sets whether verbose logging is enabled.
|
java.lang.String |
toString() |
getVersion, setVersionpublic LogConfiguration(int maxBufferRecords,
boolean verbose)
maxBufferRecords - max buffer recordsverbose - if true verbose logging is enabledpublic LogConfiguration(boolean verbose)
verbose - if true verbose logging is enabledpublic LogConfiguration(LogConfiguration that)
that - existing instancepublic LogConfiguration(LogConfiguration that, java.util.Map options)
that - existing instanceoptions - logging optionspublic LogConfiguration()
public int getMaxBufferRecords()
public void setMaxBufferRecords(int value)
value - max buffer records valuepublic boolean getVerbose()
public void setVerbose(boolean value)
value - true if enabled, false otherwisepublic Configuration copy()
copy in class Configurationpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © JSCAPE LLC. 1999-2019. All Rights Reserved