クラス StructuredLogFormatterFactory.CommonFormatters<E>
java.lang.ObjectSE
org.springframework.boot.logging.structured.StructuredLogFormatterFactory.CommonFormatters<E>
- 型パラメーター:
E
- ログイベントの種類
- 含まれているクラス:
- StructuredLogFormatterFactory<E>
特定の
CommonStructuredLogFormat
に使用する StructuredLogFormatterFactory.CommonFormatterFactory
を構成するために使用されるコールバック。コンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明void
add
(CommonStructuredLogFormat format, StructuredLogFormatterFactory.CommonFormatterFactory<E> factory) 指定されたCommonStructuredLogFormat
に使用するファクトリを追加します。
コンストラクターの詳細
CommonFormatters
public CommonFormatters()
メソッドの詳細
add
public void add(CommonStructuredLogFormat format, StructuredLogFormatterFactory.CommonFormatterFactory<E> factory) 指定されたCommonStructuredLogFormat
に使用するファクトリを追加します。- パラメーター:
format
- 一般的な構造化ログ形式factory
- 使用するファクトリ