diff --git a/lambda-runtime-api-client/src/tracing.rs b/lambda-runtime-api-client/src/tracing.rs index 51e187e4..bdbdc3d8 100644 --- a/lambda-runtime-api-client/src/tracing.rs +++ b/lambda-runtime-api-client/src/tracing.rs @@ -23,7 +23,7 @@ const DEFAULT_LOG_LEVEL: &str = "INFO"; /// if they're configured for your function. /// /// This subscriber sets the logging level based on environment variables: -/// - if `AWS_LAMBDA_LOG_LEVEL` is set, it takes predecence over any other environment variables. +/// - if `AWS_LAMBDA_LOG_LEVEL` is set, it takes precedence over any other environment variables. /// - if `AWS_LAMBDA_LOG_LEVEL` is not set, check if `RUST_LOG` is set. /// - if none of those two variables are set, use `INFO` as the logging level. ///