| java.lang.Object Shared.Logging.Internal.GenericLogger Shared.Logging.Internal.ConsoleLogger
ConsoleLogger | public class ConsoleLogger extends GenericLogger (Code) | | The formatter used by default.
|
Method Summary | |
public synchronized void | publish(String levelName, String message) Writes the log text to System.out. | public synchronized void | publish(String levelName, Throwable throwable) Writes the stacktrace to System.out. | public void | publishDirectly(String message) This one just logs the message directly without any formatting. | public void | terminate() This is called by the Logs shutdown hook.
The logger must close any open streams and if required
do further cleanup. |
ConsoleLogger | public ConsoleLogger(String logIdentifier)(Code) | | |
publish | public synchronized void publish(String levelName, String message)(Code) | | Writes the log text to System.out.
|
publish | public synchronized void publish(String levelName, Throwable throwable)(Code) | | Writes the stacktrace to System.out.
|
publishDirectly | public void publishDirectly(String message)(Code) | | This one just logs the message directly without any formatting.
|
terminate | public void terminate()(Code) | | This is called by the Logs shutdown hook.
The logger must close any open streams and if required
do further cleanup. The JVM will shutdown short time
after this call.
|
|
|