Top Description Fields Constructors Methods
io.netty.util.internal.logging

pack-priv Class CommonsLogger

extends AbstractInternalLogger
Class Inheritance
Annotations
@Deprecated
Imports
io.netty.util.internal.ObjectUtil, org.apache.commons.logging.Log

Deprecated

Please use Log4J2Logger or Log4JLogger or Slf4JLogger.

Apache Commons Logging logger.

Field Summary

Modifier and TypeField and Description
private final transient Log
private static final long
Inherited from io.netty.util.internal.logging.AbstractInternalLogger:
EXCEPTION_MESSAGE

Constructor Summary

AccessConstructor and Description
pack-priv
CommonsLogger(Log logger, String name)

Method Summary

Modifier and TypeMethod and Description
public void
debug(String
- the message object to be logged
msg
)

Implements io.netty.util.internal.logging.InternalLogger.debug.

Delegates to the Log#debug(Object) method of the underlying Log instance.
public void
debug(String
the format string
format
,
Object
the argument
arg
)

Implements io.netty.util.internal.logging.InternalLogger.debug.

Delegates to the Log#debug(Object) method of the underlying Log instance.
public void
debug(String
the format string
format
,
Object
the first argument
argA
,
Object
the second argument
argB
)

Implements io.netty.util.internal.logging.InternalLogger.debug.

Delegates to the Log#debug(Object) method of the underlying Log instance.
public void
debug(String
the format string
format
,
Object...
a list of 3 or more arguments
arguments
)

Implements io.netty.util.internal.logging.InternalLogger.debug.

Delegates to the Log#debug(Object) method of the underlying Log instance.
public void
debug(String
the message accompanying the exception
msg
,
Throwable
the exception (throwable) to log
t
)

Implements io.netty.util.internal.logging.InternalLogger.debug.

Delegates to the Log#debug(Object, Throwable) method of the underlying Log instance.
public void
error(String
- the message object to be logged
msg
)

Implements io.netty.util.internal.logging.InternalLogger.error.

Delegates to the Log#error(Object) method of the underlying Log instance.
public void
error(String
the format string
format
,
Object
the argument
arg
)

Implements io.netty.util.internal.logging.InternalLogger.error.

Delegates to the Log#error(Object) method of the underlying Log instance.
public void
error(String
the format string
format
,
Object
the first argument
argA
,
Object
the second argument
argB
)

Implements io.netty.util.internal.logging.InternalLogger.error.

Delegates to the Log#error(Object) method of the underlying Log instance.
public void
error(String
the format string
format
,
Object...
a list of 3 or more arguments
arguments
)

Implements io.netty.util.internal.logging.InternalLogger.error.

Delegates to the Log#error(Object) method of the underlying Log instance.
public void
error(String
the message accompanying the exception
msg
,
Throwable
the exception (throwable) to log
t
)

Implements io.netty.util.internal.logging.InternalLogger.error.

Delegates to the Log#error(Object, Throwable) method of the underlying Log instance.
public void
info(String
- the message object to be logged
msg
)

Implements io.netty.util.internal.logging.InternalLogger.info.

Delegates to the Log#debug(Object) method of the underlying Log instance.
public void
info(String
the format string
format
,
Object
the argument
arg
)

Implements io.netty.util.internal.logging.InternalLogger.info.

Delegates to the Log#info(Object) method of the underlying Log instance.
public void
info(String
the format string
format
,
Object
the first argument
argA
,
Object
the second argument
argB
)

Implements io.netty.util.internal.logging.InternalLogger.info.

Delegates to the Log#info(Object) method of the underlying Log instance.
public void
info(String
the format string
format
,
Object...
a list of 3 or more arguments
arguments
)

Implements io.netty.util.internal.logging.InternalLogger.info.

Delegates to the Log#info(Object) method of the underlying Log instance.
public void
info(String
the message accompanying the exception
msg
,
Throwable
the exception (throwable) to log
t
)

Implements io.netty.util.internal.logging.InternalLogger.info.

Delegates to the Log#info(Object, Throwable) method of the underlying Log instance.
public boolean
isDebugEnabled()

Implements io.netty.util.internal.logging.InternalLogger.isDebugEnabled.

Delegates to the Log#isDebugEnabled method of the underlying Log instance.
public boolean
isErrorEnabled()

Implements io.netty.util.internal.logging.InternalLogger.isErrorEnabled.

Delegates to the Log#isErrorEnabled method of the underlying Log instance.
public boolean
isInfoEnabled()

Implements io.netty.util.internal.logging.InternalLogger.isInfoEnabled.

Delegates to the Log#isInfoEnabled method of the underlying Log instance.
public boolean
isTraceEnabled()

Implements io.netty.util.internal.logging.InternalLogger.isTraceEnabled.

Delegates to the Log#isTraceEnabled method of the underlying Log instance.
public boolean
isWarnEnabled()

Implements io.netty.util.internal.logging.InternalLogger.isWarnEnabled.

Delegates to the Log#isWarnEnabled method of the underlying Log instance.
public void
trace(String
- the message object to be logged
msg
)

Implements io.netty.util.internal.logging.InternalLogger.trace.

Delegates to the Log#trace(Object) method of the underlying Log instance.
public void
trace(String
the format string
format
,
Object
the argument
arg
)

Implements io.netty.util.internal.logging.InternalLogger.trace.

Delegates to the Log#trace(Object) method of the underlying Log instance.
public void
trace(String
the format string
format
,
Object
the first argument
argA
,
Object
the second argument
argB
)

Implements io.netty.util.internal.logging.InternalLogger.trace.

Delegates to the Log#trace(Object) method of the underlying Log instance.
public void
trace(String
the format string
format
,
Object...
a list of 3 or more arguments
arguments
)

Implements io.netty.util.internal.logging.InternalLogger.trace.

Delegates to the Log#trace(Object) method of the underlying Log instance.
public void
trace(String
the message accompanying the exception
msg
,
Throwable
the exception (throwable) to log
t
)

Implements io.netty.util.internal.logging.InternalLogger.trace.

Delegates to the Log#trace(Object, Throwable) method of the underlying Log instance.
public void
warn(String
- the message object to be logged
msg
)

Implements io.netty.util.internal.logging.InternalLogger.warn.

Delegates to the Log#warn(Object) method of the underlying Log instance.
public void
warn(String
the format string
format
,
Object
the argument
arg
)

Implements io.netty.util.internal.logging.InternalLogger.warn.

Delegates to the Log#warn(Object) method of the underlying Log instance.
public void
warn(String
the format string
format
,
Object
the first argument
argA
,
Object
the second argument
argB
)

Implements io.netty.util.internal.logging.InternalLogger.warn.

Delegates to the Log#warn(Object) method of the underlying Log instance.
public void
warn(String
the format string
format
,
Object...
a list of 3 or more arguments
arguments
)

Implements io.netty.util.internal.logging.InternalLogger.warn.

Delegates to the Log#warn(Object) method of the underlying Log instance.
public void
warn(String
the message accompanying the exception
msg
,
Throwable
the exception (throwable) to log
t
)

Implements io.netty.util.internal.logging.InternalLogger.warn.

Delegates to the Log#warn(Object, Throwable) method of the underlying Log instance.
Inherited from io.netty.util.internal.logging.AbstractInternalLogger:
debugerrorinfoisEnabledloglogloglogloglognamereadResolvetoStringtracewarn

Field Detail

loggerback to summary
private final transient Log logger
serialVersionUIDback to summary
private static final long serialVersionUID

Hides io.netty.util.internal.logging.AbstractInternalLogger.serialVersionUID.

Constructor Detail

CommonsLoggerback to summary
pack-priv CommonsLogger(Log logger, String name)

Method Detail

debugback to summary
public void debug(String msg)

Implements io.netty.util.internal.logging.InternalLogger.debug.

Delegates to the Log#debug(Object) method of the underlying Log instance.

Parameters
msg:String

- the message object to be logged

Annotations
@Override
debugback to summary
public void debug(String format, Object arg)

Implements io.netty.util.internal.logging.InternalLogger.debug.

Delegates to the Log#debug(Object) method of the underlying Log instance.

However, this form avoids superfluous object creation when the logger is disabled for level DEBUG.

Parameters
format:String

the format string

arg:Object

the argument

Annotations
@Override
debugback to summary
public void debug(String format, Object argA, Object argB)

Implements io.netty.util.internal.logging.InternalLogger.debug.

Delegates to the Log#debug(Object) method of the underlying Log instance.

However, this form avoids superfluous object creation when the logger is disabled for level DEBUG.

Parameters
format:String

the format string

argA:Object

the first argument

argB:Object

the second argument

Annotations
@Override
debugback to summary
public void debug(String format, Object... arguments)

Implements io.netty.util.internal.logging.InternalLogger.debug.

Delegates to the Log#debug(Object) method of the underlying Log instance.

However, this form avoids superfluous object creation when the logger is disabled for level DEBUG.

Parameters
format:String

the format string

arguments:Object[]

a list of 3 or more arguments

Annotations
@Override
debugback to summary
public void debug(String msg, Throwable t)

Implements io.netty.util.internal.logging.InternalLogger.debug.

Delegates to the Log#debug(Object, Throwable) method of the underlying Log instance.

Parameters
msg:String

the message accompanying the exception

t:Throwable

the exception (throwable) to log

Annotations
@Override
errorback to summary
public void error(String msg)

Implements io.netty.util.internal.logging.InternalLogger.error.

Delegates to the Log#error(Object) method of the underlying Log instance.

Parameters
msg:String

- the message object to be logged

Annotations
@Override
errorback to summary
public void error(String format, Object arg)

Implements io.netty.util.internal.logging.InternalLogger.error.

Delegates to the Log#error(Object) method of the underlying Log instance.

However, this form avoids superfluous object creation when the logger is disabled for level ERROR.

Parameters
format:String

the format string

arg:Object

the argument

Annotations
@Override
errorback to summary
public void error(String format, Object argA, Object argB)

Implements io.netty.util.internal.logging.InternalLogger.error.

Delegates to the Log#error(Object) method of the underlying Log instance.

However, this form avoids superfluous object creation when the logger is disabled for level ERROR.

Parameters
format:String

the format string

argA:Object

the first argument

argB:Object

the second argument

Annotations
@Override
errorback to summary
public void error(String format, Object... arguments)

Implements io.netty.util.internal.logging.InternalLogger.error.

Delegates to the Log#error(Object) method of the underlying Log instance.

However, this form avoids superfluous object creation when the logger is disabled for level ERROR.

Parameters
format:String

the format string

arguments:Object[]

a list of 3 or more arguments

Annotations
@Override
errorback to summary
public void error(String msg, Throwable t)

Implements io.netty.util.internal.logging.InternalLogger.error.

Delegates to the Log#error(Object, Throwable) method of the underlying Log instance.

Parameters
msg:String

the message accompanying the exception

t:Throwable

the exception (throwable) to log

Annotations
@Override
infoback to summary
public void info(String msg)

Implements io.netty.util.internal.logging.InternalLogger.info.

Delegates to the Log#debug(Object) method of the underlying Log instance.

Parameters
msg:String

- the message object to be logged

Annotations
@Override
infoback to summary
public void info(String format, Object arg)

Implements io.netty.util.internal.logging.InternalLogger.info.

Delegates to the Log#info(Object) method of the underlying Log instance.

However, this form avoids superfluous object creation when the logger is disabled for level INFO.

Parameters
format:String

the format string

arg:Object

the argument

Annotations
@Override
infoback to summary
public void info(String format, Object argA, Object argB)

Implements io.netty.util.internal.logging.InternalLogger.info.

Delegates to the Log#info(Object) method of the underlying Log instance.

However, this form avoids superfluous object creation when the logger is disabled for level INFO.

Parameters
format:String

the format string

argA:Object

the first argument

argB:Object

the second argument

Annotations
@Override
infoback to summary
public void info(String format, Object... arguments)

Implements io.netty.util.internal.logging.InternalLogger.info.

Delegates to the Log#info(Object) method of the underlying Log instance.

However, this form avoids superfluous object creation when the logger is disabled for level INFO.

Parameters
format:String

the format string

arguments:Object[]

a list of 3 or more arguments

Annotations
@Override
infoback to summary
public void info(String msg, Throwable t)

Implements io.netty.util.internal.logging.InternalLogger.info.

Delegates to the Log#info(Object, Throwable) method of the underlying Log instance.

Parameters
msg:String

the message accompanying the exception

t:Throwable

the exception (throwable) to log

Annotations
@Override
isDebugEnabledback to summary
public boolean isDebugEnabled()

Implements io.netty.util.internal.logging.InternalLogger.isDebugEnabled.

Delegates to the Log#isDebugEnabled method of the underlying Log instance.

Returns:boolean

Doc from io.netty.util.internal.logging.InternalLogger.isDebugEnabled.

True if this Logger is enabled for the DEBUG level, false otherwise.

Annotations
@Override
isErrorEnabledback to summary
public boolean isErrorEnabled()

Implements io.netty.util.internal.logging.InternalLogger.isErrorEnabled.

Delegates to the Log#isErrorEnabled method of the underlying Log instance.

Returns:boolean

Doc from io.netty.util.internal.logging.InternalLogger.isErrorEnabled.

True if this Logger is enabled for the ERROR level, false otherwise.

Annotations
@Override
isInfoEnabledback to summary
public boolean isInfoEnabled()

Implements io.netty.util.internal.logging.InternalLogger.isInfoEnabled.

Delegates to the Log#isInfoEnabled method of the underlying Log instance.

Returns:boolean

Doc from io.netty.util.internal.logging.InternalLogger.isInfoEnabled.

True if this Logger is enabled for the INFO level, false otherwise.

Annotations
@Override
isTraceEnabledback to summary
public boolean isTraceEnabled()

Implements io.netty.util.internal.logging.InternalLogger.isTraceEnabled.

Delegates to the Log#isTraceEnabled method of the underlying Log instance.

Returns:boolean

Doc from io.netty.util.internal.logging.InternalLogger.isTraceEnabled.

True if this Logger is enabled for the TRACE level, false otherwise.

Annotations
@Override
isWarnEnabledback to summary
public boolean isWarnEnabled()

Implements io.netty.util.internal.logging.InternalLogger.isWarnEnabled.

Delegates to the Log#isWarnEnabled method of the underlying Log instance.

Returns:boolean

Doc from io.netty.util.internal.logging.InternalLogger.isWarnEnabled.

True if this Logger is enabled for the WARN level, false otherwise.

Annotations
@Override
traceback to summary
public void trace(String msg)

Implements io.netty.util.internal.logging.InternalLogger.trace.

Delegates to the Log#trace(Object) method of the underlying Log instance.

Parameters
msg:String

- the message object to be logged

Annotations
@Override
traceback to summary
public void trace(String format, Object arg)

Implements io.netty.util.internal.logging.InternalLogger.trace.

Delegates to the Log#trace(Object) method of the underlying Log instance.

However, this form avoids superfluous object creation when the logger is disabled for level TRACE.

Parameters
format:String

the format string

arg:Object

the argument

Annotations
@Override
traceback to summary
public void trace(String format, Object argA, Object argB)

Implements io.netty.util.internal.logging.InternalLogger.trace.

Delegates to the Log#trace(Object) method of the underlying Log instance.

However, this form avoids superfluous object creation when the logger is disabled for level TRACE.

Parameters
format:String

the format string

argA:Object

the first argument

argB:Object

the second argument

Annotations
@Override
traceback to summary
public void trace(String format, Object... arguments)

Implements io.netty.util.internal.logging.InternalLogger.trace.

Delegates to the Log#trace(Object) method of the underlying Log instance.

However, this form avoids superfluous object creation when the logger is disabled for level TRACE.

Parameters
format:String

the format string

arguments:Object[]

a list of 3 or more arguments

Annotations
@Override
traceback to summary
public void trace(String msg, Throwable t)

Implements io.netty.util.internal.logging.InternalLogger.trace.

Delegates to the Log#trace(Object, Throwable) method of the underlying Log instance.

Parameters
msg:String

the message accompanying the exception

t:Throwable

the exception (throwable) to log

Annotations
@Override
warnback to summary
public void warn(String msg)

Implements io.netty.util.internal.logging.InternalLogger.warn.

Delegates to the Log#warn(Object) method of the underlying Log instance.

Parameters
msg:String

- the message object to be logged

Annotations
@Override
warnback to summary
public void warn(String format, Object arg)

Implements io.netty.util.internal.logging.InternalLogger.warn.

Delegates to the Log#warn(Object) method of the underlying Log instance.

However, this form avoids superfluous object creation when the logger is disabled for level WARN.

Parameters
format:String

the format string

arg:Object

the argument

Annotations
@Override
warnback to summary
public void warn(String format, Object argA, Object argB)

Implements io.netty.util.internal.logging.InternalLogger.warn.

Delegates to the Log#warn(Object) method of the underlying Log instance.

However, this form avoids superfluous object creation when the logger is disabled for level WARN.

Parameters
format:String

the format string

argA:Object

the first argument

argB:Object

the second argument

Annotations
@Override
warnback to summary
public void warn(String format, Object... arguments)

Implements io.netty.util.internal.logging.InternalLogger.warn.

Delegates to the Log#warn(Object) method of the underlying Log instance.

However, this form avoids superfluous object creation when the logger is disabled for level WARN.

Parameters
format:String

the format string

arguments:Object[]

a list of 3 or more arguments

Annotations
@Override
warnback to summary
public void warn(String msg, Throwable t)

Implements io.netty.util.internal.logging.InternalLogger.warn.

Delegates to the Log#warn(Object, Throwable) method of the underlying Log instance.

Parameters
msg:String

the message accompanying the exception

t:Throwable

the exception (throwable) to log

Annotations
@Override