org.log5j.writer
Class ConsoleWriter

java.lang.Object
  extended by org.log5j.Writer
      extended by org.log5j.writer.ConsoleWriter

public final class ConsoleWriter
extends Writer

ConsoleWriter writes log messages to System.out.

Author:
Bruce Ashton

Constructor Summary
ConsoleWriter(Format format, java.util.Properties properties)
          Create a new ConsoleWriter.
 
Method Summary
 void write(java.lang.String message)
          Write a single message to the log.
 
Methods inherited from class org.log5j.Writer
getFormat
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsoleWriter

public ConsoleWriter(Format format,
                     java.util.Properties properties)
Create a new ConsoleWriter.

Parameters:
format - the Format object for this Writer
properties - configuration properties - required by contract but ignored by ConsoleWriter.
Method Detail

write

public void write(java.lang.String message)
Description copied from class: Writer
Write a single message to the log.

Specified by:
write in class Writer
Parameters:
message - the message to write