Openfire 3.4.1 Javadoc

org.jivesoftware.util.log.util
Class JettyLog

java.lang.Object
  extended by org.jivesoftware.util.log.util.JettyLog
All Implemented Interfaces:
org.mortbay.log.Logger

public class JettyLog
extends Object
implements org.mortbay.log.Logger

A Logger implementation to override the default Jetty logging behavior. All log statements are written to the Openfire logs. Info level logging is sent to debug.


Constructor Summary
JettyLog()
           
 
Method Summary
 void debug(String string, Object object, Object object1)
           
 void debug(String string, Throwable throwable)
           
 org.mortbay.log.Logger getLogger(String string)
           
 void info(String string, Object object, Object object1)
           
 boolean isDebugEnabled()
           
 void setDebugEnabled(boolean b)
           
 void warn(String string, Object object, Object object1)
           
 void warn(String string, Throwable throwable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JettyLog

public JettyLog()
Method Detail

isDebugEnabled

public boolean isDebugEnabled()
Specified by:
isDebugEnabled in interface org.mortbay.log.Logger

setDebugEnabled

public void setDebugEnabled(boolean b)
Specified by:
setDebugEnabled in interface org.mortbay.log.Logger

info

public void info(String string,
                 Object object,
                 Object object1)
Specified by:
info in interface org.mortbay.log.Logger

debug

public void debug(String string,
                  Throwable throwable)
Specified by:
debug in interface org.mortbay.log.Logger

debug

public void debug(String string,
                  Object object,
                  Object object1)
Specified by:
debug in interface org.mortbay.log.Logger

warn

public void warn(String string,
                 Object object,
                 Object object1)
Specified by:
warn in interface org.mortbay.log.Logger

warn

public void warn(String string,
                 Throwable throwable)
Specified by:
warn in interface org.mortbay.log.Logger

getLogger

public org.mortbay.log.Logger getLogger(String string)
Specified by:
getLogger in interface org.mortbay.log.Logger

Openfire 3.4.1 Javadoc

Copyright © 2003-2007 Jive Software.