org.foray.common
Class FOrayLogger

java.lang.Object
  extended by org.apache.commons.logging.impl.SimpleLog
      extended by org.foray.common.FOrayLogger
All Implemented Interfaces:
Serializable, org.apache.commons.logging.Log

public class FOrayLogger
extends org.apache.commons.logging.impl.SimpleLog

Extends the Apache Commons Logging SimpleLog class to write to System.out instead of System.err.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.commons.logging.impl.SimpleLog
currentLogLevel, dateFormatter, dateTimeFormat, DEFAULT_DATE_TIME_FORMAT, LOG_LEVEL_ALL, LOG_LEVEL_DEBUG, LOG_LEVEL_ERROR, LOG_LEVEL_FATAL, LOG_LEVEL_INFO, LOG_LEVEL_OFF, LOG_LEVEL_TRACE, LOG_LEVEL_WARN, logName, showDateTime, showLogName, showShortName, simpleLogProps, systemPrefix
 
Constructor Summary
FOrayLogger(String name)
          Construct a simple log with given name.
 
Method Summary
protected  void write(StringBuffer buffer)
           Overrides the superclass logic to write output to System.out instead of System.err.
 
Methods inherited from class org.apache.commons.logging.impl.SimpleLog
debug, debug, error, error, fatal, fatal, getLevel, info, info, isDebugEnabled, isErrorEnabled, isFatalEnabled, isInfoEnabled, isLevelEnabled, isTraceEnabled, isWarnEnabled, log, setLevel, trace, trace, warn, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FOrayLogger

public FOrayLogger(String name)
Construct a simple log with given name.

Parameters:
name - The name of the logger.
Method Detail

write

protected void write(StringBuffer buffer)
Overrides the superclass logic to write output to System.out instead of System.err.

Overrides:
write in class org.apache.commons.logging.impl.SimpleLog


Copyright © 2017. All rights reserved.