struct

ECS::LogEntry::Log::Origin

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

file(value : File)

A chainable setter for file

Source
file
Source
file

Initialize a new File, yield it to the block

Source
file=(file : File | Nil)
Source
function(new_value : String)

A chainable setter for function

Source
function

log.origin.function

The name of the function or method which originated the log event.

Level: Extended Type: Keyword Example:

init
Source
function=(function : String | Nil)

log.origin.function

The name of the function or method which originated the log event.

Level: Extended Type: Keyword Example:

init
Source

Nested types