struct

ECS::LogEntry::Log::Syslog

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(pull : JSON::PullParser)
Source
new

Initialize all values as nil

Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

facility(value : Facility)

A chainable setter for facility

Source
facility
Source
facility

Initialize a new Facility, yield it to the block

Source
facility=(facility : Facility | Nil)
Source
priority(new_value : UInt64)

A chainable setter for priority

Source
priority

log.syslog.priority

Syslog numeric priority of the event, if available.

According to RFCs 5424 and 3164, the priority is 8 * facility + severity. This number is therefore expected to contain a value between 0 and 191.

Level: Extended Type: Long Example:

135
Source
priority=(priority : UInt64 | Nil)

log.syslog.priority

Syslog numeric priority of the event, if available.

According to RFCs 5424 and 3164, the priority is 8 * facility + severity. This number is therefore expected to contain a value between 0 and 191.

Level: Extended Type: Long Example:

135
Source
severity(value : Severity)

A chainable setter for severity

Source
severity
Source
severity

Initialize a new Severity, yield it to the block

Source
severity=(severity : Severity | Nil)
Source

Nested types