共通ロギングを実装するプラグインの場合、ロギング・レベルと共通ベース・イベント・ファクトリーを構成するには、プラグインの plugin.xml ファイルに、以下の拡張ポイントを追加する必要があります。
<extension point="com.ibm.etools.common.logging.commonLoggingOptions"> <options level="ALL"/> <CommonBaseEvent msg="Common Base Event Template Message"> <sourceComponentId application="Common Logging" component="sample" componentIdType="Application" subComponent="Log" componentType="Eclipse Plugins"/> <situation categoryName="ReportSituation"> <situationType reasoningScope="INTERNAL" reportCategory="LOG"/> </situation> </CommonBaseEvent> </extension>options エレメントのレベル属性は、プラグインに関連付けられているデフォルトのロギング・レベルになります。options エレメントはオプションです。 options が指定されていない場合のデフォルトのロギング・レベルは NONE (なし) です。
options エレメント設定の有効なレベル属性は、以下のとおりです。
SEVERE (重大) (最高レベル - 最小限の情報がログに記録されます)
関連参照
プラグインのロギング設定の変更
ログおよびトレース・アナライザーのロギング設定
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.