struct

ECS::LogEntry::Log::File

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

path(new_value : String)

A chainable setter for path

Source
path

log.file.path

Full path to the log file this event came from, including the file name. It should include the drive letter, when appropriate.

If the event wasn't read from a log file, do not populate this field.

Level: Extended Type: Keyword Example:

/var/log/fun-times.log
Source
path=(path : String | Nil)

log.file.path

Full path to the log file this event came from, including the file name. It should include the drive letter, when appropriate.

If the event wasn't read from a log file, do not populate this field.

Level: Extended Type: Keyword Example:

/var/log/fun-times.log
Source