org.mortbay.log
Class StdErrLog
java.lang.Object
org.mortbay.log.StdErrLog
- All Implemented Interfaces:
- org.mortbay.log.Logger
public class StdErrLog
- extends Object
- implements org.mortbay.log.Logger
A modified version of the original Jetty logger which treats info level the same as debug level. This is merely meant
as a cosmetic tweak to reduce the log noise from Jetty on the console during our tests.
- Version:
- $Id: StdErrLog.java 707910 2008-10-25 22:05:19Z bentmann $
- Author:
- Benjamin Bentmann
StdErrLog
public StdErrLog()
StdErrLog
public StdErrLog(String name)
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabled
in interface org.mortbay.log.Logger
setDebugEnabled
public void setDebugEnabled(boolean enabled)
- Specified by:
setDebugEnabled
in interface org.mortbay.log.Logger
isHideStacks
public boolean isHideStacks()
setHideStacks
public void setHideStacks(boolean hideStacks)
debug
public void debug(String msg,
Throwable th)
- Specified by:
debug
in interface org.mortbay.log.Logger
debug
public void debug(String msg,
Object arg0,
Object arg1)
- Specified by:
debug
in interface org.mortbay.log.Logger
info
public void info(String msg,
Object arg0,
Object arg1)
- Specified by:
info
in interface org.mortbay.log.Logger
warn
public void warn(String msg,
Object arg0,
Object arg1)
- Specified by:
warn
in interface org.mortbay.log.Logger
warn
public void warn(String msg,
Throwable th)
- Specified by:
warn
in interface org.mortbay.log.Logger
getLogger
public org.mortbay.log.Logger getLogger(String name)
- Specified by:
getLogger
in interface org.mortbay.log.Logger
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.