org.robotframework.remoteserver.logging
Class Jetty2Log4J
java.lang.Object
org.robotframework.remoteserver.logging.Jetty2Log4J
- All Implemented Interfaces:
- org.eclipse.jetty.util.log.Logger
public class Jetty2Log4J
- extends Object
- implements org.eclipse.jetty.util.log.Logger
Jetty logger that redirects directly to Log4J without needing SLF4J on the classpath. This way users do not need to
add more dependencies to get a unified logging solution.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Jetty2Log4J
public Jetty2Log4J()
Jetty2Log4J
public Jetty2Log4J(String name)
getName
public String getName()
- Specified by:
getName in interface org.eclipse.jetty.util.log.Logger
warn
public void warn(String msg,
Object... args)
- Specified by:
warn in interface org.eclipse.jetty.util.log.Logger
warn
public void warn(Throwable thrown)
- Specified by:
warn in interface org.eclipse.jetty.util.log.Logger
warn
public void warn(String msg,
Throwable thrown)
- Specified by:
warn in interface org.eclipse.jetty.util.log.Logger
info
public void info(String msg,
Object... args)
- Specified by:
info in interface org.eclipse.jetty.util.log.Logger
info
public void info(Throwable thrown)
- Specified by:
info in interface org.eclipse.jetty.util.log.Logger
info
public void info(String msg,
Throwable thrown)
- Specified by:
info in interface org.eclipse.jetty.util.log.Logger
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabled in interface org.eclipse.jetty.util.log.Logger
setDebugEnabled
public void setDebugEnabled(boolean enabled)
- Specified by:
setDebugEnabled in interface org.eclipse.jetty.util.log.Logger
debug
public void debug(String msg,
Object... args)
- Specified by:
debug in interface org.eclipse.jetty.util.log.Logger
debug
public void debug(Throwable thrown)
- Specified by:
debug in interface org.eclipse.jetty.util.log.Logger
debug
public void debug(String msg,
Throwable thrown)
- Specified by:
debug in interface org.eclipse.jetty.util.log.Logger
getLogger
public org.eclipse.jetty.util.log.Logger getLogger(String name)
- Specified by:
getLogger in interface org.eclipse.jetty.util.log.Logger
ignore
public void ignore(Throwable ignored)
- Specified by:
ignore in interface org.eclipse.jetty.util.log.Logger
Copyright © 2012. All Rights Reserved.