org.apache.commons.logging.impl
クラス Log4JCategoryLog

java.lang.Object
  拡張org.apache.commons.logging.impl.Log4JCategoryLog
すべての実装インタフェース:
Log

推奨されていません。 Log4JLogger を代わりに使用してください。

public final class Log4JCategoryLog
extends Object
implements Log

Implementation of Log that maps directly to a Log4J Category. Initial configuration of the corresponding Category instances should be done in the usual manner, as outlined in the Log4J documentation.

バージョン:
$Id: Log4JCategoryLog.java,v 1.1.1.1 2004/02/13 10:02:01 hioki Exp $
作成者:
Scott Sanders, Rod Waldhoff, Robert Burrell Donkin

フィールドの概要
private  org.apache.log4j.Category category
          推奨されていません。 Log to this category
private static String FQCN
          推奨されていません。 The fully qualified name of the Log4JCategoryLog class.
 
コンストラクタの概要
Log4JCategoryLog()
          推奨されていません。  
Log4JCategoryLog(org.apache.log4j.Category category)
          推奨されていません。 For use with a log4j factory
Log4JCategoryLog(String name)
          推奨されていません。 Base constructor
 
メソッドの概要
 void debug(Object message)
          推奨されていません。 Log a message to the Log4j Category with DEBUG priority.
 void debug(Object message, Throwable t)
          推奨されていません。 Log an error to the Log4j Category with DEBUG priority.
 void error(Object message)
          推奨されていません。 Log a message to the Log4j Category with ERROR priority.
 void error(Object message, Throwable t)
          推奨されていません。 Log an error to the Log4j Category with ERROR priority.
 void fatal(Object message)
          推奨されていません。 Log a message to the Log4j Category with FATAL priority.
 void fatal(Object message, Throwable t)
          推奨されていません。 Log an error to the Log4j Category with FATAL priority.
 org.apache.log4j.Category getCategory()
          推奨されていません。 Return the native Category instance we are using.
 void info(Object message)
          推奨されていません。 Log a message to the Log4j Category with INFO priority.
 void info(Object message, Throwable t)
          推奨されていません。 Log an error to the Log4j Category with INFO priority.
 boolean isDebugEnabled()
          推奨されていません。 Check whether the Log4j Category used is enabled for DEBUG priority.
 boolean isErrorEnabled()
          推奨されていません。 Check whether the Log4j Category used is enabled for ERROR priority.
 boolean isFatalEnabled()
          推奨されていません。 Check whether the Log4j Category used is enabled for FATAL priority.
 boolean isInfoEnabled()
          推奨されていません。 Check whether the Log4j Category used is enabled for INFO priority.
 boolean isTraceEnabled()
          推奨されていません。 Check whether the Log4j Category used is enabled for TRACE priority.
 boolean isWarnEnabled()
          推奨されていません。 Check whether the Log4j Category used is enabled for WARN priority.
 void trace(Object message)
          推奨されていません。 Log a message to the Log4j Category with TRACE priority.
 void trace(Object message, Throwable t)
          推奨されていません。 Log an error to the Log4j Category with TRACE priority.
 void warn(Object message)
          推奨されていません。 Log a message to the Log4j Category with WARN priority.
 void warn(Object message, Throwable t)
          推奨されていません。 Log an error to the Log4j Category with WARN priority.
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

FQCN

private static final String FQCN
推奨されていません。 
The fully qualified name of the Log4JCategoryLog class.


category

private org.apache.log4j.Category category
推奨されていません。 
Log to this category

コンストラクタの詳細

Log4JCategoryLog

public Log4JCategoryLog()
推奨されていません。 

Log4JCategoryLog

public Log4JCategoryLog(String name)
推奨されていません。 
Base constructor


Log4JCategoryLog

public Log4JCategoryLog(org.apache.log4j.Category category)
推奨されていません。 
For use with a log4j factory

メソッドの詳細

trace

public void trace(Object message)
推奨されていません。 
Log a message to the Log4j Category with TRACE priority. Currently logs to DEBUG level in Log4J.

定義:
インタフェース Log 内の trace
パラメータ:
message - このメッセージをログ出力します

trace

public void trace(Object message,
                  Throwable t)
推奨されていません。 
Log an error to the Log4j Category with TRACE priority. Currently logs to DEBUG level in Log4J.

定義:
インタフェース Log 内の trace
パラメータ:
message - このメッセージをログ出力します
t - この原因(となった例外)をログ出力します

debug

public void debug(Object message)
推奨されていません。 
Log a message to the Log4j Category with DEBUG priority.

定義:
インタフェース Log 内の debug
パラメータ:
message - このメッセージをログします

debug

public void debug(Object message,
                  Throwable t)
推奨されていません。 
Log an error to the Log4j Category with DEBUG priority.

定義:
インタフェース Log 内の debug
パラメータ:
message - このメッセージをログ出力します
t - この原因(となった例外)をログ出力します

info

public void info(Object message)
推奨されていません。 
Log a message to the Log4j Category with INFO priority.

定義:
インタフェース Log 内の info
パラメータ:
message - このメッセージをログ出力します

info

public void info(Object message,
                 Throwable t)
推奨されていません。 
Log an error to the Log4j Category with INFO priority.

定義:
インタフェース Log 内の info
パラメータ:
message - このメッセージをログ出力します
t - この原因(となった例外)をログ出力します

warn

public void warn(Object message)
推奨されていません。 
Log a message to the Log4j Category with WARN priority.

定義:
インタフェース Log 内の warn
パラメータ:
message - このメッセージをログ出力します

warn

public void warn(Object message,
                 Throwable t)
推奨されていません。 
Log an error to the Log4j Category with WARN priority.

定義:
インタフェース Log 内の warn
パラメータ:
message - このメッセージをログ出力します
t - この原因(となった例外)をログ出力します

error

public void error(Object message)
推奨されていません。 
Log a message to the Log4j Category with ERROR priority.

定義:
インタフェース Log 内の error
パラメータ:
message - このメッセージをログ出力します

error

public void error(Object message,
                  Throwable t)
推奨されていません。 
Log an error to the Log4j Category with ERROR priority.

定義:
インタフェース Log 内の error
パラメータ:
message - このメッセージをログ出力します
t - この原因(となった例外)をログ出力します

fatal

public void fatal(Object message)
推奨されていません。 
Log a message to the Log4j Category with FATAL priority.

定義:
インタフェース Log 内の fatal
パラメータ:
message - このメッセージをログ出力します

fatal

public void fatal(Object message,
                  Throwable t)
推奨されていません。 
Log an error to the Log4j Category with FATAL priority.

定義:
インタフェース Log 内の fatal
パラメータ:
message - このメッセージをログ出力します
t - この原因(となった例外)をログ出力します

getCategory

public org.apache.log4j.Category getCategory()
推奨されていません。 
Return the native Category instance we are using.


isDebugEnabled

public boolean isDebugEnabled()
推奨されていません。 
Check whether the Log4j Category used is enabled for DEBUG priority.

定義:
インタフェース Log 内の isDebugEnabled

isErrorEnabled

public boolean isErrorEnabled()
推奨されていません。 
Check whether the Log4j Category used is enabled for ERROR priority.

定義:
インタフェース Log 内の isErrorEnabled

isFatalEnabled

public boolean isFatalEnabled()
推奨されていません。 
Check whether the Log4j Category used is enabled for FATAL priority.

定義:
インタフェース Log 内の isFatalEnabled

isInfoEnabled

public boolean isInfoEnabled()
推奨されていません。 
Check whether the Log4j Category used is enabled for INFO priority.

定義:
インタフェース Log 内の isInfoEnabled

isTraceEnabled

public boolean isTraceEnabled()
推奨されていません。 
Check whether the Log4j Category used is enabled for TRACE priority. For Log4J, this returns the value of isDebugEnabled()

定義:
インタフェース Log 内の isTraceEnabled

isWarnEnabled

public boolean isWarnEnabled()
推奨されていません。 
Check whether the Log4j Category used is enabled for WARN priority.

定義:
インタフェース Log 内の isWarnEnabled


このドキュメントは、Ja-Jakartaにより訳されました。 コメントがある場合は report@jajakarta.orgまでお願いします。
Translated into Japanese by jajakarta.org. The original page is here.
Copyright (c) 2002-2003 - Apache Software Foundation