Public Member Functions | Package Functions | Package Attributes | Static Package Attributes

org.slf4j.impl.JDK14LoggerAdapter Class Reference

Inherits org::slf4j::helpers::MarkerIgnoringBase, and org::slf4j::spi::LocationAwareLogger.

List of all members.

Public Member Functions

boolean isTraceEnabled ()
void trace (String msg)
void trace (String format, Object arg)
void trace (String format, Object arg1, Object arg2)
void trace (String format, Object[] argArray)
void trace (String msg, Throwable t)
boolean isDebugEnabled ()
void debug (String msg)
void debug (String format, Object arg)
void debug (String format, Object arg1, Object arg2)
void debug (String format, Object[] argArray)
void debug (String msg, Throwable t)
boolean isInfoEnabled ()
void info (String msg)
void info (String format, Object arg)
void info (String format, Object arg1, Object arg2)
void info (String format, Object[] argArray)
void info (String msg, Throwable t)
boolean isWarnEnabled ()
void warn (String msg)
void warn (String format, Object arg)
void warn (String format, Object arg1, Object arg2)
void warn (String format, Object[] argArray)
void warn (String msg, Throwable t)
boolean isErrorEnabled ()
void error (String msg)
void error (String format, Object arg)
void error (String format, Object arg1, Object arg2)
void error (String format, Object[] argArray)
void error (String msg, Throwable t)
void log (Marker marker, String callerFQCN, int level, String message, Throwable t)

Package Functions

 JDK14LoggerAdapter (java.util.logging.Logger logger)

Package Attributes

final java.util.logging.Logger logger

Static Package Attributes

static String SELF = JDK14LoggerAdapter.class.getName()
static String SUPER = MarkerIgnoringBase.class.getName()

Detailed Description

This class has been extracted directly from slf4j-jdk14-1.5.8-sources.jar since our AcsLogger appears to slf4j as a plain JDK logger.

A wrapper over java.util.logging.Logger in conformity with the Logger interface. Note that the logging levels mentioned in this class refer to those defined in the java.util.logging package.

Author:
Ceki Gülcü
Peter Royal

Constructor & Destructor Documentation

org.slf4j.impl.JDK14LoggerAdapter.JDK14LoggerAdapter ( java.util.logging.Logger  logger  )  [package]

Member Function Documentation

void org.slf4j.impl.JDK14LoggerAdapter.debug ( String  msg  ) 

Log a message object at level FINE.

Parameters:
msg - the message object to be logged

References org.slf4j.impl.JDK14LoggerAdapter.logger, and org.slf4j.impl.JDK14LoggerAdapter.SELF.

void org.slf4j.impl.JDK14LoggerAdapter.debug ( String  format,
Object  arg 
)

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 the format string
arg the argument

References org.slf4j.impl.JDK14LoggerAdapter.logger, and org.slf4j.impl.JDK14LoggerAdapter.SELF.

void org.slf4j.impl.JDK14LoggerAdapter.debug ( String  format,
Object  arg1,
Object  arg2 
)

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 the format string
arg1 the first argument
arg2 the second argument

References org.slf4j.impl.JDK14LoggerAdapter.logger, and org.slf4j.impl.JDK14LoggerAdapter.SELF.

void org.slf4j.impl.JDK14LoggerAdapter.debug ( String  format,
Object[]  argArray 
)

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 the format string
argArray an array of arguments

References org.slf4j.impl.JDK14LoggerAdapter.logger, and org.slf4j.impl.JDK14LoggerAdapter.SELF.

void org.slf4j.impl.JDK14LoggerAdapter.debug ( String  msg,
Throwable  t 
)

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

Parameters:
msg the message accompanying the exception
t the exception (throwable) to log

References org.slf4j.impl.JDK14LoggerAdapter.logger, and org.slf4j.impl.JDK14LoggerAdapter.SELF.

void org.slf4j.impl.JDK14LoggerAdapter.error ( String  msg  ) 

Log a message object at the SEVERE level.

Parameters:
msg - the message object to be logged

References org.slf4j.impl.JDK14LoggerAdapter.logger, and org.slf4j.impl.JDK14LoggerAdapter.SELF.

void org.slf4j.impl.JDK14LoggerAdapter.error ( String  format,
Object  arg 
)

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 the format string
arg the argument

References org.slf4j.impl.JDK14LoggerAdapter.logger, and org.slf4j.impl.JDK14LoggerAdapter.SELF.

void org.slf4j.impl.JDK14LoggerAdapter.error ( String  format,
Object  arg1,
Object  arg2 
)

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 the format string
arg1 the first argument
arg2 the second argument

References org.slf4j.impl.JDK14LoggerAdapter.logger, and org.slf4j.impl.JDK14LoggerAdapter.SELF.

void org.slf4j.impl.JDK14LoggerAdapter.error ( String  format,
Object[]  argArray 
)

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 the format string
argArray an array of arguments

References org.slf4j.impl.JDK14LoggerAdapter.logger, and org.slf4j.impl.JDK14LoggerAdapter.SELF.

void org.slf4j.impl.JDK14LoggerAdapter.error ( String  msg,
Throwable  t 
)

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

Parameters:
msg the message accompanying the exception
t the exception (throwable) to log

References org.slf4j.impl.JDK14LoggerAdapter.logger, and org.slf4j.impl.JDK14LoggerAdapter.SELF.

void org.slf4j.impl.JDK14LoggerAdapter.info ( String  msg  ) 

Log a message object at the INFO level.

Parameters:
msg - the message object to be logged

References org.slf4j.impl.JDK14LoggerAdapter.logger, and org.slf4j.impl.JDK14LoggerAdapter.SELF.

void org.slf4j.impl.JDK14LoggerAdapter.info ( String  format,
Object  arg1,
Object  arg2 
)

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 the format string
arg1 the first argument
arg2 the second argument

References org.slf4j.impl.JDK14LoggerAdapter.logger, and org.slf4j.impl.JDK14LoggerAdapter.SELF.

void org.slf4j.impl.JDK14LoggerAdapter.info ( String  format,
Object[]  argArray 
)

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 the format string
argArray an array of arguments

References org.slf4j.impl.JDK14LoggerAdapter.logger, and org.slf4j.impl.JDK14LoggerAdapter.SELF.

void org.slf4j.impl.JDK14LoggerAdapter.info ( String  msg,
Throwable  t 
)

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

Parameters:
msg the message accompanying the exception
t the exception (throwable) to log

References org.slf4j.impl.JDK14LoggerAdapter.logger, and org.slf4j.impl.JDK14LoggerAdapter.SELF.

void org.slf4j.impl.JDK14LoggerAdapter.info ( String  format,
Object  arg 
)

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 the format string
arg the argument

References org.slf4j.impl.JDK14LoggerAdapter.logger, and org.slf4j.impl.JDK14LoggerAdapter.SELF.

boolean org.slf4j.impl.JDK14LoggerAdapter.isDebugEnabled (  ) 

Is this logger instance enabled for the FINE level?

Returns:
True if this Logger is enabled for level FINE, false otherwise.

References org.slf4j.impl.JDK14LoggerAdapter.logger.

boolean org.slf4j.impl.JDK14LoggerAdapter.isErrorEnabled (  ) 

Is this logger instance enabled for level SEVERE?

Returns:
True if this Logger is enabled for level SEVERE, false otherwise.

References org.slf4j.impl.JDK14LoggerAdapter.logger.

boolean org.slf4j.impl.JDK14LoggerAdapter.isInfoEnabled (  ) 

Is this logger instance enabled for the INFO level?

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

References org.slf4j.impl.JDK14LoggerAdapter.logger.

boolean org.slf4j.impl.JDK14LoggerAdapter.isTraceEnabled (  ) 

Is this logger instance enabled for the FINEST level?

Returns:
True if this Logger is enabled for level FINEST, false otherwise.

References org.slf4j.impl.JDK14LoggerAdapter.logger.

boolean org.slf4j.impl.JDK14LoggerAdapter.isWarnEnabled (  ) 

Is this logger instance enabled for the WARNING level?

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

References org.slf4j.impl.JDK14LoggerAdapter.logger.

void org.slf4j.impl.JDK14LoggerAdapter.log ( Marker  marker,
String  callerFQCN,
int  level,
String  message,
Throwable  t 
)
void org.slf4j.impl.JDK14LoggerAdapter.trace ( String  format,
Object  arg1,
Object  arg2 
)

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 the format string
arg1 the first argument
arg2 the second argument

References org.slf4j.impl.JDK14LoggerAdapter.logger, and org.slf4j.impl.JDK14LoggerAdapter.SELF.

void org.slf4j.impl.JDK14LoggerAdapter.trace ( String  msg  ) 

Log a message object at level FINEST.

Parameters:
msg - the message object to be logged

References org.slf4j.impl.JDK14LoggerAdapter.logger, and org.slf4j.impl.JDK14LoggerAdapter.SELF.

void org.slf4j.impl.JDK14LoggerAdapter.trace ( String  format,
Object[]  argArray 
)

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 the format string
argArray an array of arguments

References org.slf4j.impl.JDK14LoggerAdapter.logger, and org.slf4j.impl.JDK14LoggerAdapter.SELF.

void org.slf4j.impl.JDK14LoggerAdapter.trace ( String  msg,
Throwable  t 
)

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

Parameters:
msg the message accompanying the exception
t the exception (throwable) to log

References org.slf4j.impl.JDK14LoggerAdapter.logger, and org.slf4j.impl.JDK14LoggerAdapter.SELF.

void org.slf4j.impl.JDK14LoggerAdapter.trace ( String  format,
Object  arg 
)

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 the format string
arg the argument

References org.slf4j.impl.JDK14LoggerAdapter.logger, and org.slf4j.impl.JDK14LoggerAdapter.SELF.

void org.slf4j.impl.JDK14LoggerAdapter.warn ( String  msg,
Throwable  t 
)

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

Parameters:
msg the message accompanying the exception
t the exception (throwable) to log

References org.slf4j.impl.JDK14LoggerAdapter.logger, and org.slf4j.impl.JDK14LoggerAdapter.SELF.

void org.slf4j.impl.JDK14LoggerAdapter.warn ( String  msg  ) 

Log a message object at the WARNING level.

Parameters:
msg - the message object to be logged

References org.slf4j.impl.JDK14LoggerAdapter.logger, and org.slf4j.impl.JDK14LoggerAdapter.SELF.

void org.slf4j.impl.JDK14LoggerAdapter.warn ( String  format,
Object  arg 
)

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 the format string
arg the argument

References org.slf4j.impl.JDK14LoggerAdapter.logger, and org.slf4j.impl.JDK14LoggerAdapter.SELF.

void org.slf4j.impl.JDK14LoggerAdapter.warn ( String  format,
Object  arg1,
Object  arg2 
)

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 the format string
arg1 the first argument
arg2 the second argument

References org.slf4j.impl.JDK14LoggerAdapter.logger, and org.slf4j.impl.JDK14LoggerAdapter.SELF.

void org.slf4j.impl.JDK14LoggerAdapter.warn ( String  format,
Object[]  argArray 
)

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 the format string
argArray an array of arguments

References org.slf4j.impl.JDK14LoggerAdapter.logger, and org.slf4j.impl.JDK14LoggerAdapter.SELF.


Member Data Documentation

final java.util.logging.Logger org.slf4j.impl.JDK14LoggerAdapter.logger [package]
String org.slf4j.impl.JDK14LoggerAdapter.SELF = JDK14LoggerAdapter.class.getName() [static, package]
String org.slf4j.impl.JDK14LoggerAdapter.SUPER = MarkerIgnoringBase.class.getName() [static, package]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties