FunctionLoggingConfig

data class FunctionLoggingConfig(val applicationLogLevel: String? = null, val logFormat: String, val logGroup: String? = null, val systemLogLevel: String? = null)

Constructors

Link copied to clipboard
constructor(applicationLogLevel: String? = null, logFormat: String, logGroup: String? = null, systemLogLevel: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

for JSON structured logs, choose the detail level of the logs your application sends to CloudWatch when using supported logging libraries.

Link copied to clipboard

select between Text and structured JSON format for your function's logs.

Link copied to clipboard
val logGroup: String? = null

the CloudWatch log group your function sends logs to.

Link copied to clipboard
val systemLogLevel: String? = null

for JSON structured logs, choose the detail level of the Lambda platform event logs sent to CloudWatch, such as ERROR, DEBUG, or INFO.