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

pack-priv Class JdkLogger

extends AbstractInternalLogger
Class Inheritance
Imports
java.util.logging.Level, .LogRecord, .Logger

java.util.logging logger.

Field Summary

Modifier and TypeField and Description
pack-priv final transient Logger
pack-priv static final String
private static final long
pack-priv static final String
Inherited from io.netty.util.internal.logging.AbstractInternalLogger:
EXCEPTION_MESSAGE

Constructor Summary

AccessConstructor and Description
pack-priv
JdkLogger(Logger logger)

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 FINE.
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 FINE 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 FINE according to the specified format and arguments.
public void
debug(String
the format string
format
,
Object...
an array of arguments
argArray
)

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

Log a message at level FINE 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 FINE 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 SEVERE 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 SEVERE 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 SEVERE level according to the specified format and arguments.
public void
error(String
the format string
format
,
Object...
an array of arguments
arguments
)

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

Log a message at level SEVERE 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 SEVERE level with an accompanying message.
private static void
fillCallerData(String callerFQCN, LogRecord
The record to update
record
)

Fill in caller data if possible.

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 FINE, false otherwise.
isDebugEnabled
()

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

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

Returns:

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

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

Is this logger instance enabled for level SEVERE?
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?
public boolean

Returns:

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

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

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

Returns:

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

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

Is this logger instance enabled for the WARNING level?
private void
log(String callerFQCN, Level level, String msg, Throwable t)

Log the message at the specified level with the specified throwable if any.

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 FINEST.
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 FINEST 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 FINEST according to the specified format and arguments.
public void
trace(String
the format string
format
,
Object...
an array of arguments
argArray
)

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

Log a message at level FINEST 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 FINEST 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 WARNING 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 WARNING 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 WARNING 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 WARNING 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 WARNING level with an accompanying message.
Inherited from io.netty.util.internal.logging.AbstractInternalLogger:
debugerrorinfoisEnabledloglogloglogloglognamereadResolvetoStringtracewarn

Field Detail

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

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

SUPERback to summary
pack-priv static final String SUPER

Constructor Detail

JdkLoggerback to summary
pack-priv JdkLogger(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 FINE.

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 FINE according to the specified format and argument.

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

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 FINE according to the specified format and arguments.

This form avoids superfluous object creation when the logger is disabled for the FINE 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... argArray)

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

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

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

Parameters
format:String

the format string

argArray: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 FINE 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 SEVERE 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 SEVERE level according to the specified format and argument.

This form avoids superfluous object creation when the logger is disabled for the SEVERE 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 SEVERE level according to the specified format and arguments.

This form avoids superfluous object creation when the logger is disabled for the SEVERE 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... arguments)

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

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

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

Parameters
format:String

the format string

arguments: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 SEVERE level with an accompanying message.

Parameters
msg:String

the message accompanying the exception

t:Throwable

the exception (throwable) to log

Annotations
@Override
fillCallerDataback to summary
private static void fillCallerData(String callerFQCN, LogRecord record)

Fill in caller data if possible.

Parameters
record:LogRecord

The record to update

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 FINE level?

Returns:boolean

True if this Logger is enabled for level FINE, 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 SEVERE?

Returns:boolean

True if this Logger is enabled for level SEVERE, 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
isTraceEnabledback to summary
public boolean isTraceEnabled()

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

Is this logger instance enabled for the FINEST level?

Returns:boolean

True if this Logger is enabled for level FINEST, 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 WARNING level?

Returns:boolean

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

Annotations
@Override
logback to summary
private void log(String callerFQCN, Level level, String msg, Throwable t)

Log the message at the specified level with the specified throwable if any. This method creates a LogRecord and fills in caller date before calling this instance's JDK14 logger. See bug report #13 for more details.

traceback to summary
public void trace(String msg)

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

Log a message object at level FINEST.

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 FINEST according to the specified format and argument.

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

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 FINEST according to the specified format and arguments.

This form avoids superfluous object creation when the logger is disabled for the FINEST 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... argArray)

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

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

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

Parameters
format:String

the format string

argArray: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 FINEST 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 WARNING 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 WARNING level according to the specified format and argument.

This form avoids superfluous object creation when the logger is disabled for the WARNING 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 WARNING level according to the specified format and arguments.

This form avoids superfluous object creation when the logger is disabled for the WARNING 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 WARNING according to the specified format and arguments.

This form avoids superfluous object creation when the logger is disabled for the WARNING 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 WARNING level with an accompanying message.

Parameters
msg:String

the message accompanying the exception

t:Throwable

the exception (throwable) to log

Annotations
@Override