Skip to content

Commit

Permalink
Merge branch 'main' into sebsto/readme
Browse files Browse the repository at this point in the history
  • Loading branch information
sebsto authored Dec 19, 2024
2 parents fa9993c + 23da9bf commit dac4131
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sources/AWSLambdaRuntimeCore/LambdaRuntime.swift
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ public final class LambdaRuntime<Handler>: @unchecked Sendable where Handler: St
// this approach is less flexible but more performant than reading the value of the environment variable at each invocation
var log = logger
log.logLevel = Lambda.env("LOG_LEVEL").flatMap(Logger.Level.init) ?? .info
self.logger = logger
self.logger = log
self.logger.debug("LambdaRuntime initialized")
}

public func run() async throws {
Expand Down

0 comments on commit dac4131

Please sign in to comment.