class
Amazonite::Lambda::LoggingConfig
- Amazonite::Lambda::LoggingConfig
- Reference
- Object
Overview
The function's Amazon CloudWatch Logs configuration settings.
Included Modules
- JSON::Serializable
Defined in:
lambda/logging_config.crConstructors
- .new(pull : JSON::PullParser)
- .new(log_format : LogFormat | Nil = nil, application_log_level : ApplicationLogLevel | Nil = nil, system_log_level : SystemLogLevel | Nil = nil, log_group : String | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#application_log_level : ApplicationLogLevel | Nil
Set this property to filter the application logs for your function that Lambda sends to CloudWatch.
-
#application_log_level=(application_log_level : ApplicationLogLevel | Nil)
Set this property to filter the application logs for your function that Lambda sends to CloudWatch.
-
#hash(hasher)
See
Object#hash(hasher) -
#log_format : LogFormat | Nil
The format in which Lambda sends your function's application and system logs to CloudWatch.
-
#log_format=(log_format : LogFormat | Nil)
The format in which Lambda sends your function's application and system logs to CloudWatch.
-
#log_group : String | Nil
The name of the Amazon CloudWatch log group the function sends logs to.
-
#log_group=(log_group : String | Nil)
The name of the Amazon CloudWatch log group the function sends logs to.
-
#system_log_level : SystemLogLevel | Nil
Set this property to filter the system logs for your function that Lambda sends to CloudWatch.
-
#system_log_level=(system_log_level : SystemLogLevel | Nil)
Set this property to filter the system logs for your function that Lambda sends to CloudWatch.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
Set this property to filter the application logs for your function that Lambda sends to
CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where
TRACE is the highest level and FATAL is the lowest.
Set this property to filter the application logs for your function that Lambda sends to
CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where
TRACE is the highest level and FATAL is the lowest.
The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON.
The format in which Lambda sends your function's application and system logs to CloudWatch. Select between plain text and structured JSON.
The name of the Amazon CloudWatch log group the function sends logs to. By default, Lambda
functions send logs to a default log group named /aws/lambda/<function name>. To use a
different log group, enter an existing log group or enter a new log group name.
The name of the Amazon CloudWatch log group the function sends logs to. By default, Lambda
functions send logs to a default log group named /aws/lambda/<function name>. To use a
different log group, enter an existing log group or enter a new log group name.
Set this property to filter the system logs for your function that Lambda sends to CloudWatch.
Lambda only sends system logs at the selected level of detail and lower, where DEBUG is the
highest level and WARN is the lowest.
Set this property to filter the system logs for your function that Lambda sends to CloudWatch.
Lambda only sends system logs at the selected level of detail and lower, where DEBUG is the
highest level and WARN is the lowest.