Function lambda_runtime::tracing::init_default_subscriber
source · pub fn init_default_subscriber()
Expand description
Initialize tracing-subscriber
with default options.
The subscriber uses RUST_LOG
as the environment variable to determine the log level for your function.
It also uses Lambda’s advance logging controls
if they’re configured for your function.
By default, the log level to emit events is INFO
.