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

public Class SLF4JLogger

extends Object
implements Logger
Class Inheritance
All Implemented Interfaces
org.jruby.util.log.Logger

Using SLF4J API as a logging backend.
Author
kares

Field Summary

Modifier and TypeField and Description
private final Logger

Constructor Summary

AccessConstructor and Description
public
SLF4JLogger(final String loggerName)

public
SLF4JLogger(final Class<?> loggerClass)

protected
SLF4JLogger(final Logger logger)

Method Summary

Modifier and TypeMethod and Description
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
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

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

Method Detail

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.

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.