public static class JettyLauncher.JettyTreeLogger extends Object implements org.eclipse.jetty.util.log.Logger
Log
to instantiate it.
The weird static data / default construction setup is a game we play with
Log
's static initializer to prevent the initial log message from
going to stderr.Constructor and Description |
---|
JettyTreeLogger(TreeLogger logger) |
Modifier and Type | Method and Description |
---|---|
void |
debug(String msg,
Object... args) |
void |
debug(String msg,
Throwable th) |
void |
debug(Throwable th) |
org.eclipse.jetty.util.log.Logger |
getLogger(String name) |
String |
getName() |
void |
ignore(Throwable th) |
void |
info(String msg,
Object... args) |
void |
info(String msg,
Throwable th) |
void |
info(Throwable th) |
boolean |
isDebugEnabled() |
void |
setDebugEnabled(boolean enabled) |
void |
warn(String msg,
Object... args) |
void |
warn(String msg,
Throwable th) |
void |
warn(Throwable th) |
public JettyTreeLogger(TreeLogger logger)
public void debug(String msg, Object... args)
debug
in interface org.eclipse.jetty.util.log.Logger
public void debug(String msg, Throwable th)
debug
in interface org.eclipse.jetty.util.log.Logger
public void debug(Throwable th)
debug
in interface org.eclipse.jetty.util.log.Logger
public org.eclipse.jetty.util.log.Logger getLogger(String name)
getLogger
in interface org.eclipse.jetty.util.log.Logger
public String getName()
getName
in interface org.eclipse.jetty.util.log.Logger
public void info(String msg, Object... args)
info
in interface org.eclipse.jetty.util.log.Logger
public void info(String msg, Throwable th)
info
in interface org.eclipse.jetty.util.log.Logger
public void info(Throwable th)
info
in interface org.eclipse.jetty.util.log.Logger
public boolean isDebugEnabled()
isDebugEnabled
in interface org.eclipse.jetty.util.log.Logger
public void setDebugEnabled(boolean enabled)
setDebugEnabled
in interface org.eclipse.jetty.util.log.Logger
public void warn(String msg, Object... args)
warn
in interface org.eclipse.jetty.util.log.Logger
public void warn(String msg, Throwable th)
warn
in interface org.eclipse.jetty.util.log.Logger
public void warn(Throwable th)
warn
in interface org.eclipse.jetty.util.log.Logger
public void ignore(Throwable th)
ignore
in interface org.eclipse.jetty.util.log.Logger
Copyright © 2018. All rights reserved.