クラス LoggersEndpoint
java.lang.ObjectSE
org.springframework.boot.actuate.logging.LoggersEndpoint
@Endpoint(id="loggers")
@RegisterReflectionForBinding({LoggersEndpoint.GroupLoggerLevelsDescriptor.class,LoggersEndpoint.SingleLoggerLevelsDescriptor.class})
public class LoggersEndpoint
extends ObjectSE
LoggerConfiguration のコレクションを公開する @Endpoint。- 導入:
- 2.0.0
- 作成者:
- Ben Hale, Phillip Webb, HaiTao Zhang
ネストされたクラスの要約
ネストされたクラス修飾子と型クラス説明static class特定のグループロガー用に構成されたレベルの説明。static class特定のロガー用に構成されたレベルの説明。static classロガーの説明。static class特定の 1 つのロガーに設定されたレベルの説明。コンストラクターの概要
コンストラクターコンストラクター説明LoggersEndpoint(LoggingSystem loggingSystem, LoggerGroups loggerGroups) 新しいLoggersEndpointインスタンスを作成します。メソッドのサマリー
修飾子と型メソッド説明voidconfigureLogLevel(StringSE name, @Nullable LogLevel configuredLevel) @Nullable LoggersEndpoint.LoggerLevelsDescriptorloggerLevels(StringSE name) loggers()
コンストラクターの詳細
LoggersEndpoint
新しいLoggersEndpointインスタンスを作成します。- パラメーター:
loggingSystem- 公開するロギングシステムloggerGroups- 公開するロガーグループ
メソッドの詳細
loggers
loggerLevels
@ReadOperation public @Nullable LoggersEndpoint.LoggerLevelsDescriptor loggerLevels(@Selector StringSE name) configureLogLevel
@WriteOperation public void configureLogLevel(@Selector StringSE name, @Nullable LogLevel configuredLevel)