org.sonatype.gossip
Class LoggerSupport
java.lang.Object
org.slf4j.helpers.MarkerIgnoringBase
org.sonatype.gossip.LoggerSupport
- All Implemented Interfaces:
- Serializable, org.slf4j.Logger
- Direct Known Subclasses:
- Gossip.LoggerImpl, PrintStreamLogger
public abstract class LoggerSupport
- extends org.slf4j.helpers.MarkerIgnoringBase
- implements org.slf4j.Logger, Serializable
Support for the Gossip Logger
implementation.
- Since:
- 1.0
- Author:
- Jason Dillon
- See Also:
- Serialized Form
Fields inherited from interface org.slf4j.Logger |
ROOT_LOGGER_NAME |
Method Summary |
void |
debug(String msg)
|
void |
debug(String format,
Object... args)
|
void |
debug(String format,
Object arg)
|
void |
debug(String format,
Object arg1,
Object arg2)
|
void |
debug(String msg,
Throwable cause)
|
protected abstract void |
doLog(Event event)
|
protected void |
doLog(Level level,
String message,
Throwable cause)
|
boolean |
equals(Object obj)
|
void |
error(String msg)
|
void |
error(String format,
Object... args)
|
void |
error(String format,
Object arg)
|
void |
error(String format,
Object arg1,
Object arg2)
|
void |
error(String msg,
Throwable cause)
|
String |
getName()
|
int |
hashCode()
|
void |
info(String msg)
|
void |
info(String format,
Object... args)
|
void |
info(String format,
Object arg)
|
void |
info(String format,
Object arg1,
Object arg2)
|
void |
info(String msg,
Throwable cause)
|
boolean |
isDebugEnabled()
|
protected abstract boolean |
isEnabled(Level level)
|
boolean |
isErrorEnabled()
|
boolean |
isInfoEnabled()
|
boolean |
isTraceEnabled()
|
boolean |
isWarnEnabled()
|
protected Object |
readResolve()
|
String |
toString()
|
void |
trace(String msg)
|
void |
trace(String format,
Object... args)
|
void |
trace(String format,
Object arg)
|
void |
trace(String format,
Object arg1,
Object arg2)
|
void |
trace(String msg,
Throwable cause)
|
void |
warn(String msg)
|
void |
warn(String format,
Object... args)
|
void |
warn(String format,
Object arg)
|
void |
warn(String format,
Object arg1,
Object arg2)
|
void |
warn(String msg,
Throwable cause)
|
Methods inherited from class org.slf4j.helpers.MarkerIgnoringBase |
debug, debug, debug, debug, debug, error, error, error, error, error, info, info, info, info, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, isTraceEnabled, isWarnEnabled, trace, trace, trace, trace, trace, warn, warn, warn, warn, warn |
Methods inherited from interface org.slf4j.Logger |
debug, debug, debug, debug, debug, error, error, error, error, error, getName, info, info, info, info, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, isTraceEnabled, isWarnEnabled, trace, trace, trace, trace, trace, warn, warn, warn, warn, warn |
name
protected String name
LoggerSupport
protected LoggerSupport(String name)
LoggerSupport
protected LoggerSupport()
toString
public String toString()
- Overrides:
toString
in class org.slf4j.helpers.MarkerIgnoringBase
hashCode
public final int hashCode()
- Overrides:
hashCode
in class Object
equals
public final boolean equals(Object obj)
- Overrides:
equals
in class Object
isEnabled
protected abstract boolean isEnabled(Level level)
doLog
protected abstract void doLog(Event event)
doLog
protected void doLog(Level level,
String message,
Throwable cause)
isTraceEnabled
public final boolean isTraceEnabled()
- Specified by:
isTraceEnabled
in interface org.slf4j.Logger
trace
public final void trace(String msg)
- Specified by:
trace
in interface org.slf4j.Logger
trace
public final void trace(String format,
Object arg)
- Specified by:
trace
in interface org.slf4j.Logger
trace
public final void trace(String format,
Object arg1,
Object arg2)
- Specified by:
trace
in interface org.slf4j.Logger
trace
public final void trace(String format,
Object... args)
- Specified by:
trace
in interface org.slf4j.Logger
trace
public final void trace(String msg,
Throwable cause)
- Specified by:
trace
in interface org.slf4j.Logger
isDebugEnabled
public final boolean isDebugEnabled()
- Specified by:
isDebugEnabled
in interface org.slf4j.Logger
debug
public final void debug(String msg)
- Specified by:
debug
in interface org.slf4j.Logger
debug
public final void debug(String format,
Object arg)
- Specified by:
debug
in interface org.slf4j.Logger
debug
public final void debug(String format,
Object arg1,
Object arg2)
- Specified by:
debug
in interface org.slf4j.Logger
debug
public final void debug(String format,
Object... args)
- Specified by:
debug
in interface org.slf4j.Logger
debug
public final void debug(String msg,
Throwable cause)
- Specified by:
debug
in interface org.slf4j.Logger
isInfoEnabled
public final boolean isInfoEnabled()
- Specified by:
isInfoEnabled
in interface org.slf4j.Logger
info
public final void info(String msg)
- Specified by:
info
in interface org.slf4j.Logger
info
public final void info(String format,
Object arg)
- Specified by:
info
in interface org.slf4j.Logger
info
public final void info(String format,
Object arg1,
Object arg2)
- Specified by:
info
in interface org.slf4j.Logger
info
public final void info(String format,
Object... args)
- Specified by:
info
in interface org.slf4j.Logger
info
public final void info(String msg,
Throwable cause)
- Specified by:
info
in interface org.slf4j.Logger
isWarnEnabled
public final boolean isWarnEnabled()
- Specified by:
isWarnEnabled
in interface org.slf4j.Logger
warn
public final void warn(String msg)
- Specified by:
warn
in interface org.slf4j.Logger
warn
public final void warn(String format,
Object arg)
- Specified by:
warn
in interface org.slf4j.Logger
warn
public final void warn(String format,
Object... args)
- Specified by:
warn
in interface org.slf4j.Logger
warn
public final void warn(String format,
Object arg1,
Object arg2)
- Specified by:
warn
in interface org.slf4j.Logger
warn
public final void warn(String msg,
Throwable cause)
- Specified by:
warn
in interface org.slf4j.Logger
isErrorEnabled
public final boolean isErrorEnabled()
- Specified by:
isErrorEnabled
in interface org.slf4j.Logger
error
public final void error(String msg)
- Specified by:
error
in interface org.slf4j.Logger
error
public final void error(String format,
Object arg)
- Specified by:
error
in interface org.slf4j.Logger
error
public final void error(String format,
Object arg1,
Object arg2)
- Specified by:
error
in interface org.slf4j.Logger
error
public final void error(String format,
Object... args)
- Specified by:
error
in interface org.slf4j.Logger
error
public final void error(String msg,
Throwable cause)
- Specified by:
error
in interface org.slf4j.Logger
getName
public String getName()
- Specified by:
getName
in interface org.slf4j.Logger
readResolve
protected Object readResolve()
throws ObjectStreamException
- Throws:
ObjectStreamException
Copyright © 2008-2011 Sonatype. All Rights Reserved.