com.infoteria.asteria.log.filter
Class LevelFilter

java.lang.Object
  |
  +--com.infoteria.asteria.log.filter.LevelFilter
All Implemented Interfaces:
LogFilter, Serializable

public class LevelFilter
extends Object
implements LogFilter, Serializable

ログレベルフィルター

See Also:
Serialized Form

Field Summary
static int ALL_INT
           
static String ALL_STR
          ログレベルを表す文字列 - ALL
static int DEBUG_INT
           
static String DEBUG_STR
          ログレベルを表す文字列 - DEBUG
static int ERROR_INT
           
static String ERROR_STR
          ログレベルを表す文字列 - ERROR
static int FATAL_INT
           
static String FATAL_STR
          ログレベルを表す文字列 - FATAL
static int INFO_INT
           
static String INFO_STR
          ログレベルを表す文字列 - INFO
static int OFF_INT
           
static int WARN_INT
           
static String WARN_STR
          ログレベルを表す文字列 - WARN
 
Constructor Summary
LevelFilter(String s)
          ログレベルを表す文字列を指定してLevelFilterを作成します。
 
Method Summary
 boolean match(LogItem item)
          itemのログレベルがコンストラクタでの指定以下の場合にマッチします。
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FATAL_STR

public static final String FATAL_STR
ログレベルを表す文字列 - FATAL

ERROR_STR

public static final String ERROR_STR
ログレベルを表す文字列 - ERROR

WARN_STR

public static final String WARN_STR
ログレベルを表す文字列 - WARN

INFO_STR

public static final String INFO_STR
ログレベルを表す文字列 - INFO

DEBUG_STR

public static final String DEBUG_STR
ログレベルを表す文字列 - DEBUG

ALL_STR

public static final String ALL_STR
ログレベルを表す文字列 - ALL

OFF_INT

public static final int OFF_INT

FATAL_INT

public static final int FATAL_INT

ERROR_INT

public static final int ERROR_INT

WARN_INT

public static final int WARN_INT

INFO_INT

public static final int INFO_INT

DEBUG_INT

public static final int DEBUG_INT

ALL_INT

public static final int ALL_INT
Constructor Detail

LevelFilter

public LevelFilter(String s)
ログレベルを表す文字列を指定してLevelFilterを作成します。
Method Detail

match

public boolean match(LogItem item)
itemのログレベルがコンストラクタでの指定以下の場合にマッチします。
Specified by:
match in interface LogFilter