AWSLambdaLoggingConfig
Objective-C
@interface AWSLambdaLoggingConfig
Swift
class AWSLambdaLoggingConfig
The function’s Amazon CloudWatch Logs configuration settings.
-
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
TRACEis the highest level andFATALis the lowest.Declaration
Objective-C
@property (nonatomic) AWSLambdaApplicationLogLevel applicationLogLevel;Swift
var applicationLogLevel: AWSLambdaApplicationLogLevel { get set } -
The format in which Lambda sends your function’s application and system logs to CloudWatch. Select between plain text and structured JSON.
Declaration
Objective-C
@property (nonatomic) AWSLambdaLogFormat logFormat;Swift
var logFormat: AWSLambdaLogFormat { get set } -
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.Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable logGroup;Swift
var logGroup: String? { get set } -
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
DEBUGis the highest level andWARNis the lowest.Declaration
Objective-C
@property (nonatomic) AWSLambdaSystemLogLevel systemLogLevel;Swift
var systemLogLevel: AWSLambdaSystemLogLevel { get set }
View on GitHub
Install in Dash
AWSLambdaLoggingConfig Class Reference