class

Hathor::OperationLogger

Inherits Reference < Object

Constructors

new(operation_name = "")
Source

Instance methods

add(status : Bool, reason : String, step : Symbol, step_type : Symbol, force : Bool)
Source
add(status : Bool, reason : String, force : Bool)
Source
add(message : String)
Source
add(operation : Operation)
Source
entries(steps_only = false)
Source
failure?(step_name : Symbol, step_type : Symbol | Nil = nil)
Source
success?(step_name : Symbol, step_type : Symbol | Nil = nil)
Source
to_s(one_line = false, steps_only = false)

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.

Source