Top Description Fields Constructors Methods
org.jruby.util.log

public Class JULLogger

extends Object
implements Logger
Class Inheritance
All Implemented Interfaces
org.jruby.util.log.Logger
Imports
java.util.logging.Level

Logger which delegates to java.util.logging.Logger.
Author
kares

Field Summary

Modifier and TypeField and Description
private final Logger

Constructor Summary

AccessConstructor and Description
public
JULLogger(final String loggerName)

public
JULLogger(final Class<?> loggerClass)

protected
JULLogger(final Logger logger)

Method Summary

Modifier and TypeMethod and Description
pack-priv static String
adjustPattern(final String messagePattern)

public void
debug(String message, Object... args)

Implements org.jruby.util.log.Logger.debug.

public void
public void
debug(String message, Throwable throwable)

Implements org.jruby.util.log.Logger.debug.

public void
error(String message, Object... args)

Implements org.jruby.util.log.Logger.error.

public void
public void
error(String message, Throwable throwable)

Implements org.jruby.util.log.Logger.error.

public String
public void
info(String message, Object... args)

Implements org.jruby.util.log.Logger.info.

public void
public void
info(String message, Throwable throwable)

Implements org.jruby.util.log.Logger.info.

public boolean
protected void
log(Level level, String message, Object... args)

protected void
log(Level level, String message, Throwable ex)

public void
public void
warn(String message, Object... args)

Implements org.jruby.util.log.Logger.warn.

public void
public void
warn(String message, Throwable throwable)

Implements org.jruby.util.log.Logger.warn.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

loggerback to summary
private final Logger logger

Constructor Detail

JULLoggerback to summary
public JULLogger(final String loggerName)
JULLoggerback to summary
public JULLogger(final Class<?> loggerClass)
JULLoggerback to summary
protected JULLogger(final Logger logger)

Method Detail

adjustPatternback to summary
pack-priv static String adjustPattern(final String messagePattern)
debugback to summary
public void debug(String message, Object... args)

Implements org.jruby.util.log.Logger.debug.

debugback to summary
public void debug(Throwable throwable)

Implements org.jruby.util.log.Logger.debug.

debugback to summary
public void debug(String message, Throwable throwable)

Implements org.jruby.util.log.Logger.debug.

errorback to summary
public void error(String message, Object... args)

Implements org.jruby.util.log.Logger.error.

errorback to summary
public void error(Throwable throwable)

Implements org.jruby.util.log.Logger.error.

errorback to summary
public void error(String message, Throwable throwable)

Implements org.jruby.util.log.Logger.error.

getNameback to summary
public String getName()

Implements org.jruby.util.log.Logger.getName.

infoback to summary
public void info(String message, Object... args)

Implements org.jruby.util.log.Logger.info.

infoback to summary
public void info(Throwable throwable)

Implements org.jruby.util.log.Logger.info.

infoback to summary
public void info(String message, Throwable throwable)

Implements org.jruby.util.log.Logger.info.

isDebugEnabledback to summary
public boolean isDebugEnabled()

Implements org.jruby.util.log.Logger.isDebugEnabled.

logback to summary
protected void log(Level level, String message, Object... args)
logback to summary
protected void log(Level level, String message, Throwable ex)
setDebugEnableback to summary
public void setDebugEnable(boolean debug)

Implements org.jruby.util.log.Logger.setDebugEnable.

warnback to summary
public void warn(String message, Object... args)

Implements org.jruby.util.log.Logger.warn.

warnback to summary
public void warn(Throwable throwable)

Implements org.jruby.util.log.Logger.warn.

warnback to summary
public void warn(String message, Throwable throwable)

Implements org.jruby.util.log.Logger.warn.