class Hathor::OperationLogger

Defined in:

operation_logger.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(operation_name = "") #

[View source]

Instance Method Detail

def add(status : Bool, reason : String, step : Symbol, step_type : Symbol, force : Bool) #

[View source]
def add(status : Bool, reason : String, force : Bool) #

[View source]
def add(message : String) #

[View source]
def add(operation : Operation) #

[View source]
def entries(steps_only = false) #

[View source]
def failure?(step_name : Symbol, step_type : Symbol | Nil = nil) #

[View source]
def success?(step_name : Symbol, step_type : Symbol | Nil = nil) #

[View source]
def to_s(one_line = false, steps_only = false) #
Description copied from class Object

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.


[View source]