Package net.i2p.jetty
Class I2PLogger
java.lang.Object
net.i2p.jetty.I2PLogger
- All Implemented Interfaces:
Logger
public class I2PLogger extends Object implements Logger
Modified from Jetty 6.1.26 StdErrLog.java and Slf4jLog.java
Usage: org.eclipse.log.Log.setLog(new I2PLogger(ctx));
- Since:
- Jetty 6
-
Constructor Summary
Constructors Constructor Description I2PLogger()
I2PLogger(I2PAppContext ctx)
-
Method Summary
Modifier and Type Method Description void
debug(String msg, long arg)
void
debug(String msg, Object... args)
void
debug(String msg, Object arg0, Object arg1)
void
debug(String msg, Throwable th)
void
debug(Throwable thrown)
Logger
getLogger(String name)
String
getName()
void
ignore(Throwable ignored)
void
info(String msg, Object... args)
void
info(String msg, Object arg0, Object arg1)
void
info(String msg, Throwable th)
void
info(Throwable thrown)
boolean
isDebugEnabled()
void
setDebugEnabled(boolean enabled)
String
toString()
void
warn(String msg, Object... args)
void
warn(String msg, Object arg0, Object arg1)
void
warn(String msg, Throwable th)
void
warn(Throwable thrown)
-
Constructor Details
-
Method Details
-
isDebugEnabled
public boolean isDebugEnabled()- Specified by:
isDebugEnabled
in interfaceLogger
-
setDebugEnabled
public void setDebugEnabled(boolean enabled)- Specified by:
setDebugEnabled
in interfaceLogger
-
info
-
debug
-
debug
-
warn
-
warn
-
getLogger
-
toString
-
ignore
-
debug
-
debug
-
info
-
info
-
info
-
warn
-
warn
-
getName
-
debug
-