|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.cuni.amis.pogamut.base.utils.logging.LogPublisher cz.cuni.amis.pogamut.base.utils.logging.LogPublisher.ConsolePublisher
public static class LogPublisher.ConsolePublisher
Nested Class Summary |
---|
Nested classes/interfaces inherited from class cz.cuni.amis.pogamut.base.utils.logging.LogPublisher |
---|
LogPublisher.ConsolePublisher, LogPublisher.FilePublisher |
Field Summary |
---|
Fields inherited from class cz.cuni.amis.pogamut.base.utils.logging.LogPublisher |
---|
formatter |
Constructor Summary | |
---|---|
LogPublisher.ConsolePublisher()
|
|
LogPublisher.ConsolePublisher(IAgentId name)
|
Method Summary | |
---|---|
void |
close()
From JavaDoc API: |
void |
flush()
From JavaDoc API: |
void |
publish(java.util.logging.LogRecord record,
java.lang.String formattedMsg)
|
Methods inherited from class cz.cuni.amis.pogamut.base.utils.logging.LogPublisher |
---|
getFormatter, publish, setFormatter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LogPublisher.ConsolePublisher()
public LogPublisher.ConsolePublisher(IAgentId name)
Method Detail |
---|
public void close() throws java.lang.SecurityException
ILogPublisher
Close the Handler and free all associated resources.
The close method will perform a flush and then close the Handler. After close has been called this Handler should no longer be used. Method calls may either be silently ignored or may throw runtime exceptions.
close
in interface ILogPublisher
close
in class LogPublisher
java.lang.SecurityException
- if a security manager exists and if
the caller does not have LoggingPermission("control").public void flush()
ILogPublisher
Flush any buffered output.
flush
in interface ILogPublisher
flush
in class LogPublisher
public void publish(java.util.logging.LogRecord record, java.lang.String formattedMsg)
publish
in class LogPublisher
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |