function Logging::logLevel
Get defined OTEL_LOG_LEVEL, or default
1 call to Logging::logLevel()
- LogsMessagesTrait::shouldLog in vendor/
open-telemetry/ api/ Behavior/ LogsMessagesTrait.php
File
-
vendor/
open-telemetry/ api/ Behavior/ Internal/ Logging.php, line 64
Class
- Logging
- Logging utility functions for internal logging (of OpenTelemetry errors/warnings etc). This is not part of SDK configuration to avoid creating a dependency on SDK from any package which does logging. @todo this should be `@internal`, but deptrac is…
Namespace
OpenTelemetry\API\Behavior\InternalCode
public static function logLevel() : int {
self::$logLevel ??= self::getLogLevel();
return self::$logLevel;
}