|
Knopflerfish OSGi 3.4.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Method Summary | |
void |
commit()
If CM is available, upload the current configuration to CM. |
java.io.File |
getDir()
|
boolean |
getFile()
|
int |
getFileSize()
|
int |
getFilter()
|
java.util.HashMap |
getFilters()
|
boolean |
getFlush()
|
int |
getMaxGen()
|
int |
getMemorySize()
Get the number of log entries that are kept in memory. |
boolean |
getOut()
|
java.lang.String |
getTimestampPattern()
|
boolean |
isDefaultConfig()
Returns false when the configuration is obtained
from CM. |
void |
setFile(boolean f)
|
void |
setFileSize(int fS)
|
void |
setFilter(int filter)
Set the default filter level. |
void |
setFilter(java.lang.String bundleLocation,
int filter)
Set the filter level for bundles that matches the pattern. |
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 controlling if log entries are written to System.out or not. |
void |
setTimestampPattern(java.lang.String pattern)
Define the format of the timestamp used when presenting log entries. |
| Method Detail |
public void commit()
public boolean isDefaultConfig()
false when the configuration is obtained
from CM.
public void setMemorySize(int size)
size - the new maximum number of log entries in memory.public int getMemorySize()
public void setFilter(int filter)
filter - the new default filter level.public int getFilter()
public void setFilter(java.lang.String bundleLocation,
int filter)
bundleLocation - A pattern to be matched against the bundle.filter - the new default filter level.public java.util.HashMap getFilters()
public void setOut(boolean b)
System.out or not.
b - if true log entries will be written to
System.out.public boolean getOut()
public void setFile(boolean f)
public boolean getFile()
public java.io.File getDir()
public void setFileSize(int fS)
public int getFileSize()
public void setMaxGen(int maxGen)
public int getMaxGen()
public void setFlush(boolean f)
public boolean getFlush()
public void setTimestampPattern(java.lang.String pattern)
System.out.
pattern - Date time pattern as defined in
java.text.SimpleDateFormat(java.lang.String).
If the given pattern is invalid, the old pattern
is keept.public java.lang.String getTimestampPattern()
|
Knopflerfish OSGi 3.4.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||