net.officefloor.plugin.servlet.log
Class StdoutLogger

java.lang.Object
  extended by net.officefloor.plugin.servlet.log.StdoutLogger
All Implemented Interfaces:
Logger

public class StdoutLogger
extends Object
implements Logger

Logger to log to stdout.

Author:
Daniel Sagenschneider

Constructor Summary
StdoutLogger()
           
 
Method Summary
 void log(String message)
          Logs the message.
 void log(String message, Throwable failure)
          Logs the message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StdoutLogger

public StdoutLogger()
Method Detail

log

public void log(String message)
Description copied from interface: Logger
Logs the message.

Specified by:
log in interface Logger
Parameters:
message - Message.

log

public void log(String message,
                Throwable failure)
Description copied from interface: Logger
Logs the message.

Specified by:
log in interface Logger
Parameters:
message - Message.
failure - Failure to also log with message.


Copyright © 2005-2011. All Rights Reserved.