Add .none case to ClientLogMode and make that default to reduce request / response logging unless opted in
Adjust log levels for logging statements in URLSessionHTTPClient and FoundationStreamBridge
Add a public initializer for SDKLoggingSystem and make default log level .error for SDKLoggingSystem::initialize(defaultLogLevel:)
Fix SwiftLogger::log to pass in the log level of the logger instance to Logger::log, instead of using the argument value passed to it, which produced wrong behavior (e.g., before this fix, a SwiftLogger with logLevel of .critical would log out all levels of log without filter because instead of passing in .critical, it would pass in whatever log level that was the argument)
Scope
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Issue \
Description of changes
.none
case toClientLogMode
and make that default to reduce request / response logging unless opted inURLSessionHTTPClient
andFoundationStreamBridge
SDKLoggingSystem
and make default log level.error
forSDKLoggingSystem::initialize(defaultLogLevel:)
SwiftLogger::log
to pass in the log level of the logger instance toLogger::log
, instead of using the argument value passed to it, which produced wrong behavior (e.g., before this fix, aSwiftLogger
withlogLevel
of.critical
would log out all levels of log without filter because instead of passing in.critical
, it would pass in whatever log level that was the argument)Scope
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.