FileDocCategorySizeDatePackage
SLevel.javaAPI DocAzureus 3.0.3.41596Fri Dec 02 19:03:56 GMT 2005org.gudy.azureus2.ui.common.util

SLevel

public class SLevel extends Level
author
Tobias Minich

Fields Summary
public static final int
INT_CORE_WARNING
public static final int
INT_CORE_INFO
public static final int
INT_THREAD
public static final int
INT_HTTP
public static final int
INT_ACCESS_VIOLATION
public static final Level
CORE_WARNING
public static final Level
CORE_INFO
public static final Level
THREAD
public static final Level
HTTP
public static final Level
ACCESS_VIOLATION
Constructors Summary
SLevel(int c, String a, int b)

  
        super(c,a,b);
Methods Summary
public static org.apache.log4j.LeveltoLevel(int val)

    return toLevel(val, Level.DEBUG);
  
public static org.apache.log4j.LeveltoLevel(int val, org.apache.log4j.Level defaultLevel)

    switch (val) {
      case INT_CORE_WARNING: return SLevel.CORE_WARNING;
      case INT_CORE_INFO: return SLevel.CORE_INFO;
      case INT_THREAD: return SLevel.THREAD;
      case INT_HTTP: return SLevel.HTTP;
      case INT_ACCESS_VIOLATION: return SLevel.ACCESS_VIOLATION;
      default: return Level.toLevel(val, defaultLevel);
    }