|
qflib 0.98.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Callback that enables access to the log levels of an application as well as the ouput and pre queue levels and the queue and flush buffer parameters.
Log
Method Summary | |
int |
getFlushBufferSize()
Get the size of the flush buffer of the callback's application. |
int |
getFlushTriggerLevel()
Get the level that will trigger a flush of the messages saved in the flush buffer of the callback's application. |
java.lang.Object[] |
getLogLevels()
Get the current log levels from the callback. |
int |
getOutputLevel()
Get the current output log level from the callback's application. |
int |
getPostFlushSize()
Get the number of messages to pass unfiltered through the pre-queue stage after a flush happened in the callback's application. |
int |
getPreQueueLevel()
Return the current pre-queue level from the callback's application. |
int |
getQueueSize()
Get the size of log queue of the callback's application. |
boolean |
isDropOnOverflow()
Check whether the callback's application is dropping entries when its log queue overflows. |
boolean |
isQueueing()
Check whether the callback's application is using a log queue. |
void |
removeLogLevel(java.lang.String name)
Callback method for a LogLevelListener to remove the log level for a class or package. |
void |
setDropOnOverflow(boolean drop)
Set whether the callback's application should drop entries when its log queue overflows. |
void |
setFlushBufferSize(int size)
Set the size of the flush buffer of the callback's application. |
void |
setFlushTriggerLevel(int level)
Set the level that will trigger a flush of the messages saved in the flush buffer of the callback's application. |
void |
setLogLevel(java.lang.String name,
int level)
Callback method for a LogLevelListener to change the log level for a class or package. |
void |
setOutputLevel(int level)
Set the output log level for the callback's application. |
void |
setPostFlushSize(int size)
Set the number of messages to pass unfiltered through the pre-queue stage after a flush happened in the callback's application. |
void |
setPreQueueLevel(int level)
Set the pre-queue level for the callback's application. |
void |
setQueueing(boolean queue)
Set whether the callback's application should use a log queue. |
void |
setQueueSize(int size)
Set the size of log queue of the callback's application. |
Method Detail |
public java.lang.Object[] getLogLevels()
public void setLogLevel(java.lang.String name, int level)
name
- The name of the affected class or package.level
- The new log level.public void removeLogLevel(java.lang.String name)
name
- The name of the affected class or package.public int getOutputLevel()
Log.getOutputLevel()
public void setOutputLevel(int level)
level
- Output log level to set.Log.setOutputLevel(int)
public int getPreQueueLevel()
Log.getPreQueueLevel()
public void setPreQueueLevel(int level)
level
- The pre-queue level to set.Log.setPreQueueLevel(int)
public boolean isQueueing()
Log.isQueueing()
public void setQueueing(boolean queue)
queue
- Whether to queue log entries.Log.setQueueing(boolean)
public int getQueueSize()
Log.getQueueSize()
public void setQueueSize(int size)
size
- The size of the log queue.Log.setQueueSize(int)
public boolean isDropOnOverflow()
Log.isDropOnOverflow()
public void setDropOnOverflow(boolean drop)
drop
- Whether to drop entries on overflow.Log.setDropOnOverflow(boolean)
public int getFlushBufferSize()
Log.getFlushBufferSize()
public void setFlushBufferSize(int size)
size
- The size of the flush buffer.Log.setFlushBufferSize(int)
public int getFlushTriggerLevel()
Log.getFlushTriggerLevel()
public void setFlushTriggerLevel(int level)
level
- The trigger level to set.Log.setFlushTriggerLevel(int)
public int getPostFlushSize()
Log.getPostFlushSize()
public void setPostFlushSize(int size)
size
- The number of messages to pass.Log.setPostFlushSize(int)
|
qflib 0.98.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |