org.almendra.commons.util.logging
Class SystemLogPrinter

java.lang.Object
  extended by org.almendra.commons.util.logging.SystemLogPrinter
All Implemented Interfaces:
ILogPrinter

public class SystemLogPrinter
extends java.lang.Object
implements ILogPrinter

The SystemLogPrinter uses the console as the log output device and is therefore often used as the default LogPrinter object.

Author:
Oliver Plohmann

Constructor Summary
SystemLogPrinter()
          Creates a new SystemLogPrinter object.
 
Method Summary
 void log(java.lang.String msg)
          Write a message to the log device.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemLogPrinter

public SystemLogPrinter()
Creates a new SystemLogPrinter object.

Method Detail

log

public void log(java.lang.String msg)
Write a message to the log device. For the SystemLogPrinter the log device is the console. Usually used as the default LogPrinter.

Specified by:
log in interface ILogPrinter
See Also:
org.almendra.commons.commons.util.logging.ILogPrinter#log(java.lang.String)