public interface LogConfig
Modifier and Type | Method and Description |
---|---|
void |
commit() |
File |
getDir() |
boolean |
getFile() |
int |
getFileSize() |
int |
getFilter() |
HashMap |
getFilters() |
boolean |
getFlush() |
int |
getMaxGen() |
int |
getMemorySize() |
boolean |
getOut() |
boolean |
isDefaultConfig() |
void |
setFile(boolean f) |
void |
setFileSize(int fS) |
void |
setFilter(int filter)
Set the default filter level.
|
void |
setFilter(String bundleLocation,
int filter)
Set the default filter level.
|
void |
setFlush(boolean f) |
void |
setMaxGen(int maxGen) |
void |
setMemorySize(int size)
Set number of log entries that are kept in memory.
|
void |
setOut(boolean b)
Property controling if log entries are written to
System.out
or not. |
void commit()
boolean isDefaultConfig()
void setMemorySize(int size)
size
- the new maximum number of log entries in memory.int getMemorySize()
void setFilter(int filter)
filter
- the new default filter level.int getFilter()
void setFilter(String bundleLocation, int filter)
filter
- the new default filter level.bundleLocation
- TODOHashMap getFilters()
void setOut(boolean b)
System.out
or not.b
- if true
log entries will be written to
System.out
.boolean getOut()
void setFile(boolean f)
boolean getFile()
File getDir()
void setFileSize(int fS)
int getFileSize()
void setMaxGen(int maxGen)
int getMaxGen()
void setFlush(boolean f)
boolean getFlush()
Copyright © 2013. All rights reserved.