struct Protocol::Logger::LogEntry

Overview

Logger entry.

Included Modules

Defined in:

protocol/logger.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def args : Array(Runtime::RemoteObject) | Nil #

Call arguments.


[View source]
def category : String | Nil #

[View source]
def level : String #

Logger entry severity.


[View source]
def line_number : Int::Primitive | Nil #

Line number in the resource.


[View source]
def network_request_id : Network::RequestId | Nil #

Identifier of the network request associated with this entry.


[View source]
def source : String #

Logger entry source.


[View source]
def stack_trace : Runtime::StackTrace | Nil #

JavaScript stack trace.


[View source]
def text : String #

Logged text.


[View source]
def timestamp : Runtime::Timestamp #

Timestamp when this entry was added.


[View source]
def url : String | Nil #

URL of the resource if known.


[View source]
def worker_id : String | Nil #

Identifier of the worker associated with this entry.


[View source]