public class RecordingLogger extends Object implements org.eclipse.jetty.util.log.Logger
Modifier and Type | Class and Description |
---|---|
static class |
RecordingLogger.Warning |
Constructor and Description |
---|
RecordingLogger()
Constructor for
RecordingLogger . |
RecordingLogger(String name)
Constructor for
RecordingLogger . |
Modifier and Type | Method and Description |
---|---|
static void |
clear()
Clear the warnings, automatically done by
AppServer.setUp() |
void |
debug(String msg)
Debug log
|
void |
debug(String msg,
long value) |
void |
debug(String msg,
Object... args) |
void |
debug(String msg,
Object arg0,
Object arg1)
Debug log
|
void |
debug(String msg,
Throwable th) |
void |
debug(Throwable thrown) |
org.eclipse.jetty.util.log.Logger |
getLogger(String name) |
String |
getName() |
static List<RecordingLogger.Warning> |
getWarnings()
Get the
warnings . |
void |
ignore(Throwable arg0) |
void |
info(String msg)
Info
|
void |
info(String msg,
Object... args) |
void |
info(String msg,
Object arg0,
Object arg1)
Info
|
void |
info(String msg,
Throwable thrown) |
void |
info(Throwable thrown) |
boolean |
isDebugEnabled() |
void |
setDebugEnabled(boolean enabled) |
void |
warn(String msg)
Warning
|
void |
warn(String msg,
Object... args) |
void |
warn(String msg,
Object arg0,
Object arg1)
Warning
|
void |
warn(String msg,
Throwable th) |
void |
warn(Throwable thrown) |
public RecordingLogger()
RecordingLogger
.public RecordingLogger(String name)
RecordingLogger
.name
- public static void clear()
AppServer.setUp()
public static List<RecordingLogger.Warning> getWarnings()
warnings
.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 warn(String msg, Throwable th)
warn
in interface org.eclipse.jetty.util.log.Logger
public void warn(String msg)
msg
- warning messagepublic void debug(String msg, Object arg0, Object arg1)
msg
- arg0
- arg1
- public void debug(String msg, Throwable th)
debug
in interface org.eclipse.jetty.util.log.Logger
public void debug(String msg)
msg
- debug messagepublic void info(String msg)
msg
- 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(Throwable thrown)
warn
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(Throwable thrown)
info
in interface org.eclipse.jetty.util.log.Logger
public void info(String msg, Throwable thrown)
info
in interface org.eclipse.jetty.util.log.Logger
public void debug(String msg, Object... args)
debug
in interface org.eclipse.jetty.util.log.Logger
public void debug(Throwable thrown)
debug
in interface org.eclipse.jetty.util.log.Logger
public void ignore(Throwable arg0)
ignore
in interface org.eclipse.jetty.util.log.Logger
public void debug(String msg, long value)
debug
in interface org.eclipse.jetty.util.log.Logger
Copyright © 2018 Eclipse JGit Project. All rights reserved.