class Amazonite::CloudWatchLogs::OutputLogEvent

Overview

Represents a log event.

Included Modules

Defined in:

cloudwatch_logs/output_log_event.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(timestamp : Int64 | Nil = nil, message : String | Nil = nil, ingestion_time : Int64 | 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 ingestion_time : Int64 | Nil #

The time the event was ingested, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.


[View source]
def ingestion_time=(ingestion_time : Int64 | Nil) #

The time the event was ingested, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.


[View source]
def message : String | Nil #

The data contained in the log event.


[View source]
def message=(message : String | Nil) #

The data contained in the log event.


[View source]
def timestamp : Int64 | Nil #

The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.


[View source]
def timestamp=(timestamp : Int64 | Nil) #

The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.


[View source]
def validate! : Nil #

[View source]