org.slf4j.impl
Class SimpleConfigurableLogger

java.lang.Object
  extended by org.slf4j.helpers.MarkerIgnoringBase
      extended by org.slf4j.impl.SimpleConfigurableLogger
All Implemented Interfaces:
org.slf4j.Logger

public class SimpleConfigurableLogger
extends org.slf4j.helpers.MarkerIgnoringBase


Field Summary
 
Fields inherited from interface org.slf4j.Logger
ROOT_LOGGER_NAME
 
Method Summary
 void debug(String msg)
          A NOP implementation, as this logger is permanently disabled for the DEBUG level.
 void debug(String format, Object arg)
          A NOP implementation, as this logger is permanently disabled for the DEBUG level.
 void debug(String format, Object[] argArray)
           
 void debug(String format, Object arg1, Object arg2)
          A NOP implementation, as this logger is permanently disabled for the DEBUG level.
 void debug(String msg, Throwable t)
          A NOP implementation, as this logger is permanently disabled for the DEBUG level.
 void error(String msg)
          A simple implementation which always logs messages of level ERROR according to the format outlined above.
 void error(String format, Object arg)
          Perform single parameter substitution before logging the message of level ERROR according to the format outlined above.
 void error(String format, Object[] argArray)
          Perform double parameter substitution before logging the message of level ERROR according to the format outlined above.
 void error(String format, Object arg1, Object arg2)
          Perform double parameter substitution before logging the message of level ERROR according to the format outlined above.
 void error(String msg, Throwable t)
          Log a message of level ERROR, including an exception.
static SimpleConfigurableLogger getLogger()
          Returns the global SimpleConfigurableLogger object.
 String getName()
           
 void info(String msg)
          A simple implementation which always logs messages of level INFO according to the format outlined above.
 void info(String format, Object arg)
          Perform single parameter substitution before logging the message of level INFO according to the format outlined above.
 void info(String format, Object[] argArray)
          Perform double parameter substitution before logging the message of level INFO according to the format outlined above.
 void info(String format, Object arg1, Object arg2)
          Perform double parameter substitution before logging the message of level INFO according to the format outlined above.
 void info(String msg, Throwable t)
          Log a message of level INFO, including an exception.
 boolean isDebugEnabled()
          Always returns false.
 boolean isErrorEnabled()
          Always returns true.
 boolean isInfoEnabled()
          Always returns true.
 boolean isWarnEnabled()
          Always returns true.
 void setDebugEnabled(boolean enabled)
           
 void setErrorEnabled(boolean enabled)
           
 void setInfoEnabled(boolean enabled)
           
 void setWarnEnabled(boolean enabled)
           
 void warn(String msg)
          A simple implementation which always logs messages of level WARN according to the format outlined above.
 void warn(String format, Object arg)
          Perform single parameter substitution before logging the message of level WARN according to the format outlined above.
 void warn(String format, Object[] argArray)
          Perform double parameter substitution before logging the message of level WARN according to the format outlined above.
 void warn(String format, Object arg1, Object arg2)
          Perform double parameter substitution before logging the message of level WARN according to the format outlined above.
 void warn(String msg, Throwable t)
          Log a message of level WARN, including an exception.
 
Methods inherited from class org.slf4j.helpers.MarkerIgnoringBase
debug, debug, debug, debug, debug, error, error, error, error, error, info, info, info, info, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, isWarnEnabled, toString, warn, warn, warn, warn, warn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getLogger

public static SimpleConfigurableLogger getLogger()
Returns the global SimpleConfigurableLogger object.


getName

public String getName()

isDebugEnabled

public boolean isDebugEnabled()
Always returns false.

Returns:
always false

setDebugEnabled

public void setDebugEnabled(boolean enabled)

debug

public void debug(String msg)
A NOP implementation, as this logger is permanently disabled for the DEBUG level.


debug

public void debug(String format,
                  Object arg)
A NOP implementation, as this logger is permanently disabled for the DEBUG level.


debug

public void debug(String format,
                  Object arg1,
                  Object arg2)
A NOP implementation, as this logger is permanently disabled for the DEBUG level.


debug

public void debug(String format,
                  Object[] argArray)

debug

public void debug(String msg,
                  Throwable t)
A NOP implementation, as this logger is permanently disabled for the DEBUG level.


isInfoEnabled

public boolean isInfoEnabled()
Always returns true.


setInfoEnabled

public void setInfoEnabled(boolean enabled)

info

public void info(String msg)
A simple implementation which always logs messages of level INFO according to the format outlined above.


info

public void info(String format,
                 Object arg)
Perform single parameter substitution before logging the message of level INFO according to the format outlined above.


info

public void info(String format,
                 Object arg1,
                 Object arg2)
Perform double parameter substitution before logging the message of level INFO according to the format outlined above.


info

public void info(String format,
                 Object[] argArray)
Perform double parameter substitution before logging the message of level INFO according to the format outlined above.


info

public void info(String msg,
                 Throwable t)
Log a message of level INFO, including an exception.


isWarnEnabled

public boolean isWarnEnabled()
Always returns true.


setWarnEnabled

public void setWarnEnabled(boolean enabled)

warn

public void warn(String msg)
A simple implementation which always logs messages of level WARN according to the format outlined above.


warn

public void warn(String format,
                 Object arg)
Perform single parameter substitution before logging the message of level WARN according to the format outlined above.


warn

public void warn(String format,
                 Object arg1,
                 Object arg2)
Perform double parameter substitution before logging the message of level WARN according to the format outlined above.


warn

public void warn(String format,
                 Object[] argArray)
Perform double parameter substitution before logging the message of level WARN according to the format outlined above.


warn

public void warn(String msg,
                 Throwable t)
Log a message of level WARN, including an exception.


isErrorEnabled

public boolean isErrorEnabled()
Always returns true.


setErrorEnabled

public void setErrorEnabled(boolean enabled)

error

public void error(String msg)
A simple implementation which always logs messages of level ERROR according to the format outlined above.


error

public void error(String format,
                  Object arg)
Perform single parameter substitution before logging the message of level ERROR according to the format outlined above.


error

public void error(String format,
                  Object arg1,
                  Object arg2)
Perform double parameter substitution before logging the message of level ERROR according to the format outlined above.


error

public void error(String format,
                  Object[] argArray)
Perform double parameter substitution before logging the message of level ERROR according to the format outlined above.


error

public void error(String msg,
                  Throwable t)
Log a message of level ERROR, including an exception.



Copyright © 1997-2008 Aduna. All Rights Reserved.