Uses of Enum Class
cloud.opencode.base.log.LogLevel
Packages that use LogLevel
Package
Description
OpenCode Base Log - Lightweight Logging Facade
OpenCode 基础日志 - 轻量级日志门面
Asynchronous Logging Support
异步日志支持
Log Filter Package - Provides Extensible Log Event Filtering
日志过滤器包 - 提供可扩展的日志事件过滤
Dynamic Log Level Management
动态日志级别管理
Performance Logging - Timing and Slow Operation Detection
性能日志 - 计时和慢操作检测
SPI (Service Provider Interface) - Pluggable Logging Providers
SPI(服务提供者接口) - 可插拔日志提供者
-
Uses of LogLevel in cloud.opencode.base.log
Subclasses with type arguments of type LogLevel in cloud.opencode.base.logModifier and TypeClassDescriptionenumLog Level Enumeration - Defines Standard Log Levels 日志级别枚举 - 定义标准日志级别Methods in cloud.opencode.base.log that return LogLevelModifier and TypeMethodDescriptionstatic LogLevelParses a log level from its name.static LogLevelLogLevel.fromNameOrDefault(String name, LogLevel defaultLevel) Safely parses a log level from its name, returning a default if not found.LogEvent.level()Returns the value of thelevelrecord component.static LogLevelReturns the enum constant of this class with the specified name.static LogLevel[]LogLevel.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in cloud.opencode.base.log with parameters of type LogLevelModifier and TypeMethodDescriptionstatic LogEvent.BuilderCreates a new builder with the required level and message.static LogLevelLogLevel.fromNameOrDefault(String name, LogLevel defaultLevel) Safely parses a log level from its name, returning a default if not found.booleanChecks if the specified level is enabled.booleanLogLevel.isEnabledFor(LogLevel threshold) Checks if this level is enabled for the specified threshold level.booleanLogLevel.isGreaterOrEqual(LogLevel other) Checks if this level is greater than or equal to the specified level.voidLogs a message at the specified level.voidLogs a message at the specified level with parameters.voidLogs a message at the specified level with an exception.Constructors in cloud.opencode.base.log with parameters of type LogLevelModifierConstructorDescriptionLogEvent(LogLevel level, String loggerName, String message, Throwable throwable, Marker marker, Map<String, String> mdc, long timestampMillis, String threadName, CallerInfo callerInfo) Compact constructor that validates required fields and makes a defensive copy of the MDC map. -
Uses of LogLevel in cloud.opencode.base.log.async
Methods in cloud.opencode.base.log.async with parameters of type LogLevelModifier and TypeMethodDescriptionbooleanChecks if the specified level is enabled.voidLogs a message at the specified level.voidLogs a message at the specified level with parameters.voidLogs a message at the specified level with an exception. -
Uses of LogLevel in cloud.opencode.base.log.filter
Constructors in cloud.opencode.base.log.filter with parameters of type LogLevelModifierConstructorDescriptionLevelFilter(LogLevel threshold) Creates a level filter with the specified threshold. -
Uses of LogLevel in cloud.opencode.base.log.level
Methods in cloud.opencode.base.log.level that return LogLevelModifier and TypeMethodDescriptionDynamicLevelManager.getEffectiveLevel(String loggerName, LogLevel defaultLevel) Gets the effective log level for the specified logger name.Gets the log level override for the specified logger name.Methods in cloud.opencode.base.log.level that return types with arguments of type LogLevelModifier and TypeMethodDescriptionDynamicLevelManager.getAllLevels()Returns an unmodifiable copy of all current log level overrides.Methods in cloud.opencode.base.log.level with parameters of type LogLevelModifier and TypeMethodDescriptionDynamicLevelManager.getEffectiveLevel(String loggerName, LogLevel defaultLevel) Gets the effective log level for the specified logger name.voidSets a log level override for the specified logger name. -
Uses of LogLevel in cloud.opencode.base.log.perf
Fields in cloud.opencode.base.log.perf declared as LogLevelModifier and TypeFieldDescriptionstatic final LogLevelSlowOperationConfig.DEFAULT_LOG_LEVELDefault log level: WARNMethods in cloud.opencode.base.log.perf that return LogLevelModifier and TypeMethodDescriptionSlowOperationConfig.getLogLevel()Returns the log level for slow operations.Methods in cloud.opencode.base.log.perf with parameters of type LogLevelModifier and TypeMethodDescriptionSets the log level. -
Uses of LogLevel in cloud.opencode.base.log.spi
Methods in cloud.opencode.base.log.spi with parameters of type LogLevel