Uses of Record Class
cloud.opencode.base.log.CallerInfo
Packages that use CallerInfo
Package
Description
OpenCode Base Log - Lightweight Logging Facade
OpenCode 基础日志 - 轻量级日志门面
-
Uses of CallerInfo in cloud.opencode.base.log
Fields in cloud.opencode.base.log declared as CallerInfoModifier and TypeFieldDescriptionstatic final CallerInfoCallerInfo.UNKNOWNUnknown caller info constant, used when caller information is unavailable.Methods in cloud.opencode.base.log that return CallerInfoModifier and TypeMethodDescriptionLogEvent.callerInfo()Returns the value of thecallerInforecord component.static CallerInfoCallerInfo.capture()Captures the caller location by walking the stack and skipping internal log frames.static CallerInfoCallerInfo.capture(int skipFrames) Captures the caller location with additional frame skipping.Methods in cloud.opencode.base.log with parameters of type CallerInfoModifier and TypeMethodDescriptionLogEvent.Builder.callerInfo(CallerInfo callerInfo) Sets the caller info.Constructors in cloud.opencode.base.log with parameters of type CallerInfoModifierConstructorDescriptionLogEvent(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.