package awslambda


// Lambda service will automatically captures system logs about function invocation generated by the Lambda service (known as system logs) and sends these logs to a default CloudWatch log group named after the Lambda function.
//
// Example:
//   import "github.com/aws/aws-cdk-go/awscdk"
//
//   var logGroup iLogGroup
//
//
//   lambda.NewFunction(this, jsii.String("Lambda"), &FunctionProps{
//   	Code: lambda.NewInlineCode(jsii.String("foo")),
//   	Handler: jsii.String("index.handler"),
//   	Runtime: lambda.Runtime_NODEJS_18_X(),
//   	LoggingFormat: lambda.LoggingFormat_JSON,
//   	SystemLogLevelV2: lambda.SystemLogLevel_INFO,
//   	ApplicationLogLevelV2: lambda.ApplicationLogLevel_INFO,
//   	LogGroup: logGroup,
//   })
//
type SystemLogLevel string

const (
	// Lambda will capture only logs at info level.
	SystemLogLevel_INFO SystemLogLevel = "INFO"
	// Lambda will capture only logs at debug level.
	SystemLogLevel_DEBUG SystemLogLevel = "DEBUG"
	// Lambda will capture only logs at warn level.
	SystemLogLevel_WARN SystemLogLevel = "WARN"
)

