Uses of Class
org.apache.logging.log4j.Level

Packages that use Level
org.apache.logging.log4j Public API for Log4j 2.0. 
org.apache.logging.log4j.spi Internal interfaces and classes to be used by authors of logging implementations. 
org.apache.logging.log4j.status Status API for Log4j 2.0. 
 

Uses of Level in org.apache.logging.log4j
 

Methods in org.apache.logging.log4j that return Level
static Level Level.toLevel(String sArg)
          Converts the string passed as argument to a level.
static Level Level.toLevel(String sArg, Level defaultLevel)
          Converts the string passed as argument to a level.
static Level Level.valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Level[] Level.values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 

Methods in org.apache.logging.log4j with parameters of type Level
 void Logger.catching(Level level, Throwable t)
          Logs an exception or error that has been caught.
 boolean Level.isAtLeastAsSpecificAs(Level level)
          Compares this level against the level passed as an argument and returns true if this level is the same or more specific.
 boolean Level.lessOrEqual(Level level)
          Compares the specified Level against this one.
static void EventLogger.logEvent(StructuredDataMessage msg, Level level)
          Log events and specify the logging level.
<T extends Throwable>
T
Logger.throwing(Level level, T t)
          Logs an exception or error to be thrown.
static Level Level.toLevel(String sArg, Level defaultLevel)
          Converts the string passed as argument to a level.
 

Uses of Level in org.apache.logging.log4j.spi
 

Methods in org.apache.logging.log4j.spi with parameters of type Level
 void AbstractLogger.catching(Level level, Throwable t)
          Logs an exception or error that has been caught.
 boolean AbstractLoggerWrapper.isEnabled(Level level, Marker marker, Message data, Throwable t)
          Detect if the event would be logged.
protected abstract  boolean AbstractLogger.isEnabled(Level level, Marker marker, Message data, Throwable t)
          Determine if logging is enabled.
 boolean AbstractLoggerWrapper.isEnabled(Level level, Marker marker, Object data, Throwable t)
          Detect if the event would be logged.
protected abstract  boolean AbstractLogger.isEnabled(Level level, Marker marker, Object data, Throwable t)
          Determine if logging is enabled.
 boolean AbstractLoggerWrapper.isEnabled(Level level, Marker marker, String data)
          Detect if the event would be logged.
protected abstract  boolean AbstractLogger.isEnabled(Level level, Marker marker, String data)
          Determine if logging is enabled.
 boolean AbstractLoggerWrapper.isEnabled(Level level, Marker marker, String data, Object... p1)
          Detect if the event would be logged.
protected abstract  boolean AbstractLogger.isEnabled(Level level, Marker marker, String data, Object... p1)
          Determine if logging is enabled.
 boolean AbstractLoggerWrapper.isEnabled(Level level, Marker marker, String data, Throwable t)
          Detect if the event would be logged.
protected abstract  boolean AbstractLogger.isEnabled(Level level, Marker marker, String data, Throwable t)
          Determine if logging is enabled.
 void AbstractLoggerWrapper.log(Marker marker, String fqcn, Level level, Message data, Throwable t)
          Log an event.
protected abstract  void AbstractLogger.log(Marker marker, String fqcn, Level level, Message data, Throwable t)
          Logs a message with location information.
<T extends Throwable>
T
AbstractLogger.throwing(Level level, T t)
          Logs an exception or error to be thrown.
 

Uses of Level in org.apache.logging.log4j.status
 

Methods in org.apache.logging.log4j.status that return Level
 Level StatusData.getLevel()
          Returns the logging level for the event.
 

Methods in org.apache.logging.log4j.status with parameters of type Level
protected  boolean StatusLogger.isEnabled(Level level, Marker marker)
           
protected  boolean StatusLogger.isEnabled(Level level, Marker marker, Message data, Throwable t)
           
protected  boolean StatusLogger.isEnabled(Level level, Marker marker, Object data, Throwable t)
           
protected  boolean StatusLogger.isEnabled(Level level, Marker marker, String data)
           
protected  boolean StatusLogger.isEnabled(Level level, Marker marker, String data, Object... p1)
           
protected  boolean StatusLogger.isEnabled(Level level, Marker marker, String data, Throwable t)
           
 void StatusLogger.log(Marker marker, String fqcn, Level level, Message msg, Throwable t)
          Add an event.
 void StatusConsoleListener.setLevel(Level level)
          Sets the level to a new value.
 

Constructors in org.apache.logging.log4j.status with parameters of type Level
StatusConsoleListener(Level level)
          Creates the StatusConsoleListener using the supplied Level.
StatusConsoleListener(Level level, PrintStream stream)
          Creates the StatusConsoleListener using the supplied Level.
StatusData(StackTraceElement caller, Level level, Message msg, Throwable t)
          Creates the StatusData object.
 



Copyright © 1999-2012 Apache Software Foundation. All Rights Reserved.