struct

QBittorrent::Model::LogEntry

Inherits JSON::Serializable < Struct < Value < Object

A single entry from the qBittorrent main log (log/main array element).

log_type is the log level as an integer bitmask (see LogLevel): 1 NORMAL, 2 INFO, 4 WARNING, 8 CRITICAL.

Constructors

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

Instance methods

id

Monotonically increasing entry id (feed as last_known_id to page).

Source
log_type

Log level as an integer bitmask: 1 NORMAL, 2 INFO, 4 WARNING, 8 CRITICAL. Named log_type because type is a reserved word.

Source
message

Human-readable log message.

Source
timestamp

Unix epoch timestamp (seconds) when the entry was recorded.

Source

Nested types