public abstract class SimpLogging
extends java.lang.Object
これにより、"org.springframework.messaging.simp" などの低レベルパッケージからのロギングを含む、"org.springframework.web" を介したすべての Web 関連のロギングを有効にすることができます。
ログメッセージの発信元であるプライマリクラスからのログを確認するには、"org.springframework.messaging" のログを有効にするだけです。
LogDelegateFactory
コンストラクターと説明 |
---|
SimpLogging() |
修飾子と型 | メソッドと説明 |
---|---|
static Log | forLog(Log primaryLogger) プライマリが有効になっていない場合は、プライマリまたは共有フォールバックロガー "org.springframework.web.HttpLogging" のいずれかに委譲する複合ロガーで、指定されたプライマリロガーをラップします。 |
static Log | forLogName(java.lang.Class<?> primaryLoggerClass) 指定されたクラスのプライマリロガーを作成し、プライマリが有効になっていない場合は、そのクラスまたは "org.springframework.web.SimpLogging" という名前のフォールバックロガーに委譲するコンポジットでラップします。 |
public static Log forLogName(java.lang.Class<?> primaryLoggerClass)
primaryLoggerClass
- 主ロガーの名前のクラス