struct

ECS::LogEntry::Log::Syslog::Facility

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

code(new_value : UInt64)

A chainable setter for code

Source
code

log.syslog.facility.code

The Syslog numeric facility of the log event, if available.

According to RFCs 5424 and 3164, this value should be an integer between 0 and 23.

Level: Extended Type: Long Example:

23
Source
code=(code : UInt64 | Nil)

log.syslog.facility.code

The Syslog numeric facility of the log event, if available.

According to RFCs 5424 and 3164, this value should be an integer between 0 and 23.

Level: Extended Type: Long Example:

23
Source
name(new_value : String)

A chainable setter for name

Source
name

log.syslog.facility.name

The Syslog text-based facility of the log event, if available.

Level: Extended Type: Keyword Example:

local7
Source
name=(name : String | Nil)

log.syslog.facility.name

The Syslog text-based facility of the log event, if available.

Level: Extended Type: Keyword Example:

local7
Source