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

pack-priv Class Log4JLogger

extends AbstractInternalLogger
Class Inheritance
Imports
org.apache.log4j.Level, .Logger

Apache Log4J logger.

Field Summary

Modifier and TypeField and Description
pack-priv static final String
FQCN

Following the pattern discussed in pages 162 through 168 of "The complete log4j manual".

pack-priv final transient Logger
private static final long
pack-priv final boolean
Inherited from io.netty.util.internal.logging.AbstractInternalLogger:
EXCEPTION_MESSAGE

Constructor Summary

AccessConstructor and Description
pack-priv

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.

Log a message object at level DEBUG.
public void
debug(String
the format string
format
,
Object
the argument
arg
)

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

Log a message at level DEBUG according to the specified format and argument.
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.

Log a message at level DEBUG according to the specified format and arguments.
public void
debug(String
the format string
format
,
Object...
an array of arguments
arguments
)

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

Log a message at level DEBUG according to the specified format and arguments.
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.

Log an exception (throwable) at level DEBUG with an accompanying message.
public void
error(String
- the message object to be logged
msg
)

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

Log a message object at the ERROR level.
public void
error(String
the format string
format
,
Object
the argument
arg
)

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

Log a message at the ERROR level according to the specified format and argument.
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.

Log a message at the ERROR level according to the specified format and arguments.
public void
error(String
the format string
format
,
Object...
an array of arguments
argArray
)

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

Log a message at level ERROR according to the specified format and arguments.
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.

Log an exception (throwable) at the ERROR level with an accompanying message.
public void
info(String
- the message object to be logged
msg
)

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

Log a message object at the INFO level.
public void
info(String
the format string
format
,
Object
the argument
arg
)

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

Log a message at level INFO according to the specified format and argument.
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.

Log a message at the INFO level according to the specified format and arguments.
public void
info(String
the format string
format
,
Object...
an array of arguments
argArray
)

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

Log a message at level INFO according to the specified format and arguments.
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.

Log an exception (throwable) at the INFO level with an accompanying message.
public boolean

Returns:

True if this Logger is enabled for level DEBUG, false otherwise.
isDebugEnabled
()

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

Is this logger instance enabled for the DEBUG level?
public boolean

Returns:

True if this Logger is enabled for level ERROR, false otherwise.
isErrorEnabled
()

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

Is this logger instance enabled for level ERROR?
public boolean

Returns:

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

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

Is this logger instance enabled for the INFO level?
private boolean
public boolean

Returns:

True if this Logger is enabled for level TRACE, false otherwise.
isTraceEnabled
()

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

Is this logger instance enabled for the TRACE level?
public boolean

Returns:

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

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

Is this logger instance enabled for the WARN level?
public void
trace(String
- the message object to be logged
msg
)

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

Log a message object at level TRACE.
public void
trace(String
the format string
format
,
Object
the argument
arg
)

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

Log a message at level TRACE according to the specified format and argument.
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.

Log a message at level TRACE according to the specified format and arguments.
public void
trace(String
the format string
format
,
Object...
an array of arguments
arguments
)

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

Log a message at level TRACE according to the specified format and arguments.
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.

Log an exception (throwable) at level TRACE with an accompanying message.
public void
warn(String
- the message object to be logged
msg
)

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

Log a message object at the WARN level.
public void
warn(String
the format string
format
,
Object
the argument
arg
)

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

Log a message at the WARN level according to the specified format and argument.
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.

Log a message at the WARN level according to the specified format and arguments.
public void
warn(String
the format string
format
,
Object...
an array of arguments
argArray
)

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

Log a message at level WARN according to the specified format and arguments.
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.

Log an exception (throwable) at the WARN level with an accompanying message.
Inherited from io.netty.util.internal.logging.AbstractInternalLogger:
debugerrorinfoisEnabledloglogloglogloglognamereadResolvetoStringtracewarn

Field Detail

FQCNback to summary
pack-priv static final String FQCN

Following the pattern discussed in pages 162 through 168 of "The complete log4j manual".

loggerback to summary
pack-priv final transient Logger logger
serialVersionUIDback to summary
private static final long serialVersionUID

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

traceCapableback to summary
pack-priv final boolean traceCapable

Constructor Detail

Log4JLoggerback to summary
pack-priv Log4JLogger(Logger logger)

Method Detail

debugback to summary
public void debug(String msg)

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

Log a message object at level DEBUG.

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.

Log a message at level DEBUG according to the specified format and argument.

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.

Log a message at level DEBUG according to the specified format and arguments.

This form avoids superfluous object creation when the logger is disabled for the DEBUG level.

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.

Log a message at level DEBUG according to the specified format and arguments.

This form avoids superfluous object creation when the logger is disabled for the DEBUG level.

Parameters
format:String

the format string

arguments:Object[]

an array of arguments

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

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

Log an exception (throwable) at level DEBUG with an accompanying message.

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.

Log a message object at the ERROR level.

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.

Log a message at the ERROR level according to the specified format and argument.

This form avoids superfluous object creation when the logger is disabled for the ERROR level.

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.

Log a message at the ERROR level according to the specified format and arguments.

This form avoids superfluous object creation when the logger is disabled for the ERROR level.

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... argArray)

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

Log a message at level ERROR according to the specified format and arguments.

This form avoids superfluous object creation when the logger is disabled for the ERROR level.

Parameters
format:String

the format string

argArray:Object[]

an array of arguments

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

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

Log an exception (throwable) at the ERROR level with an accompanying message.

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.

Log a message object at the INFO level.

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.

Log a message at level INFO according to the specified format and argument.

This form avoids superfluous object creation when the logger is disabled for the INFO level.

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.

Log a message at the INFO level according to the specified format and arguments.

This form avoids superfluous object creation when the logger is disabled for the INFO level.

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... argArray)

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

Log a message at level INFO according to the specified format and arguments.

This form avoids superfluous object creation when the logger is disabled for the INFO level.

Parameters
format:String

the format string

argArray:Object[]

an array of arguments

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

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

Log an exception (throwable) at the INFO level with an accompanying message.

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.

Is this logger instance enabled for the DEBUG level?

Returns:boolean

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

Annotations
@Override
isErrorEnabledback to summary
public boolean isErrorEnabled()

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

Is this logger instance enabled for level ERROR?

Returns:boolean

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

Annotations
@Override
isInfoEnabledback to summary
public boolean isInfoEnabled()

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

Is this logger instance enabled for the INFO level?

Returns:boolean

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

Annotations
@Override
isTraceCapableback to summary
private boolean isTraceCapable()
isTraceEnabledback to summary
public boolean isTraceEnabled()

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

Is this logger instance enabled for the TRACE level?

Returns:boolean

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

Annotations
@Override
isWarnEnabledback to summary
public boolean isWarnEnabled()

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

Is this logger instance enabled for the WARN level?

Returns:boolean

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.

Log a message object at level TRACE.

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.

Log a message at level TRACE according to the specified format and argument.

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.

Log a message at level TRACE according to the specified format and arguments.

This form avoids superfluous object creation when the logger is disabled for the TRACE level.

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.

Log a message at level TRACE according to the specified format and arguments.

This form avoids superfluous object creation when the logger is disabled for the TRACE level.

Parameters
format:String

the format string

arguments:Object[]

an array of arguments

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

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

Log an exception (throwable) at level TRACE with an accompanying message.

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.

Log a message object at the WARN level.

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.

Log a message at the WARN level according to the specified format and argument.

This form avoids superfluous object creation when the logger is disabled for the WARN level.

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.

Log a message at the WARN level according to the specified format and arguments.

This form avoids superfluous object creation when the logger is disabled for the WARN level.

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... argArray)

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

Log a message at level WARN according to the specified format and arguments.

This form avoids superfluous object creation when the logger is disabled for the WARN level.

Parameters
format:String

the format string

argArray:Object[]

an array of arguments

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

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

Log an exception (throwable) at the WARN level with an accompanying message.

Parameters
msg:String

the message accompanying the exception

t:Throwable

the exception (throwable) to log

Annotations
@Override