Module: AWSCDK::Lambda::LoggingFormat
- Defined in:
- lambda/logging_format.rb
Overview
This field takes in 2 values either Text or JSON.
By setting this value to Text, will result in the current structure of logs format, whereas, by setting this value to JSON, Lambda will print the logs as Structured JSON Logs, with the corresponding timestamp and log level of each event. Selecting ‘JSON’ format will only allow customers to have different log level Application log level and the System log level.
Constant Summary collapse
- TEXT =
Deprecated.Note:
Default:
Lambda Logs text format.
Jsii::Enum.new("aws-cdk-lib.aws_lambda.LoggingFormat", "TEXT")
- JSON =
Deprecated.Note:
Default:
Lambda structured logging in Json format.
Jsii::Enum.new("aws-cdk-lib.aws_lambda.LoggingFormat", "JSON")