cz.cuni.amis.pogamut.base.utils.logging
Class LogPublisher.ConsolePublisher
java.lang.Object
cz.cuni.amis.pogamut.base.utils.logging.LogPublisher
cz.cuni.amis.pogamut.base.utils.logging.LogPublisher.ConsolePublisher
- All Implemented Interfaces:
- ILogPublisher
- Enclosing class:
- LogPublisher
public static class LogPublisher.ConsolePublisher
- extends LogPublisher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogPublisher.ConsolePublisher
public LogPublisher.ConsolePublisher()
LogPublisher.ConsolePublisher
public LogPublisher.ConsolePublisher(IAgentId name)
close
public void close()
throws SecurityException
- Description copied from interface:
ILogPublisher
- From JavaDoc API:
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.
- Specified by:
close
in interface ILogPublisher
- Specified by:
close
in class LogPublisher
- Throws:
SecurityException
- if a security manager exists and if
the caller does not have LoggingPermission("control").
flush
public void flush()
- Description copied from interface:
ILogPublisher
- From JavaDoc API:
Flush any buffered output.
- Specified by:
flush
in interface ILogPublisher
- Specified by:
flush
in class LogPublisher
publish
public void publish(LogRecord record,
String formattedMsg)
- Specified by:
publish
in class LogPublisher
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.