We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26488a7 commit 23da9bfCopy full SHA for 23da9bf
Sources/AWSLambdaRuntimeCore/LambdaRuntime.swift
@@ -39,7 +39,8 @@ public final class LambdaRuntime<Handler>: @unchecked Sendable where Handler: St
39
// this approach is less flexible but more performant than reading the value of the environment variable at each invocation
40
var log = logger
41
log.logLevel = Lambda.env("LOG_LEVEL").flatMap(Logger.Level.init) ?? .info
42
- self.logger = logger
+ self.logger = log
43
+ self.logger.debug("LambdaRuntime initialized")
44
}
45
46
public func run() async throws {
0 commit comments