-
public class OtelLoggingHelperHelper class for logging to Otel from the Logging class. This abstracts away OpenTelemetry-specific types so the core module doesn't need direct OpenTelemetry dependencies.
-
-
Field Summary
Fields Modifier and Type Field Description public final static OtelLoggingHelperINSTANCE
-
Method Summary
-
-
Method Detail
-
logToOtel
final Unit logToOtel(IOtelOpenTelemetryRemote telemetry, String level, String message, String exceptionType, String exceptionMessage, String exceptionStacktrace)
Logs a message to Otel remote telemetry. This method handles all OpenTelemetry-specific types internally.
- Parameters:
telemetry- The Otel remote telemetry instancelevel- The log level as a string (VERBOSE, DEBUG, INFO, WARN, ERROR, FATAL)message- The log messageexceptionType- Optional exception typeexceptionMessage- Optional exception messageexceptionStacktrace- Optional exception stacktrace
-
-
-
-