class Amazonite::EventBridge::LogConfig

Overview

The logging configuration settings for the event bus.

For more information, see Configuring logs for event buses in the EventBridge User Guide.

Included Modules

Defined in:

eventbridge/log_config.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(include_detail : IncludeDetail | Nil = nil, level : Level | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def include_detail : IncludeDetail | Nil #

Whether EventBridge include detailed event information in the records it generates. Detailed data can be useful for troubleshooting and debugging. This information includes details of the event itself, as well as target details.

For more information, see Including detail data in event bus logs in the EventBridge User Guide.


[View source]
def include_detail=(include_detail : IncludeDetail | Nil) #

Whether EventBridge include detailed event information in the records it generates. Detailed data can be useful for troubleshooting and debugging. This information includes details of the event itself, as well as target details.

For more information, see Including detail data in event bus logs in the EventBridge User Guide.


[View source]
def level : Level | Nil #

The level of logging detail to include. This applies to all log destinations for the event bus.

For more information, see Specifying event bus log level in the EventBridge User Guide.


[View source]
def level=(level : Level | Nil) #

The level of logging detail to include. This applies to all log destinations for the event bus.

For more information, see Specifying event bus log level in the EventBridge User Guide.


[View source]
def validate! : Nil #

[View source]