class Zap::Reporter::Interactive

Defined in:

reporter/interactive.cr

Constructors

Instance Method Summary

Instance methods inherited from class Zap::Reporter

error(error : Exception, location : String | Nil) : Nil error, errors(errors : Array(Tuple(Exception, String))) : Nil errors, header(emoji : String, str : String, color = :default) : String header, info(str : String) : Nil info, io_lock : Mutex io_lock, log(str : String) : Nil log, on_building_package : Nil on_building_package, on_downloading_package : Nil on_downloading_package, on_installing_package : Nil on_installing_package, on_package_added(pkg_key : String) : Nil on_package_added, on_package_built : Nil on_package_built, on_package_downloaded : Nil on_package_downloaded, on_package_installed : Nil on_package_installed, on_package_packed : Nil on_package_packed, on_package_removed(pkg_key : String) : Nil on_package_removed, on_package_resolved : Nil on_package_resolved, on_packing_package : Nil on_packing_package, on_resolving_package : Nil on_resolving_package, output : IO output, output_sync(&block : IO -> ) : Nil output_sync, prepend(bytes : Bytes) : Nil prepend, report_builder_updates(& : -> T) forall T report_builder_updates, report_done(realtime, memory, install_config, *, unmet_peers : Hash(String, Hash(Utils::Semver::Range, Set(String))) | Nil = nil) : Nil report_done, report_installer_updates(& : -> T) forall T report_installer_updates, report_resolver_updates(& : -> T) forall T report_resolver_updates, stop : Nil stop, warning(error : Exception, location : String | Nil) : Nil warning

Instance methods inherited from class Object

or(other : T) : T | self forall T or, pipe(&) pipe

Constructor Detail

def self.new(out __arg0 : IO = STDOUT) #

[View source]

Instance Method Detail

def error(error : Exception, location : String | Nil = "") : Nil #

[View source]
def errors(errors : Array(Tuple(Exception, String))) : Nil #

[View source]
def header(emoji : String, str : String, color = :default) : String #

[View source]
def info(str : String) : Nil #

[View source]
def log(str : String) : Nil #

[View source]
def on_building_package : Nil #

[View source]
def on_downloading_package : Nil #

[View source]
def on_installing_package : Nil #

[View source]
def on_package_added(pkg_key : String) : Nil #

[View source]
def on_package_built : Nil #

[View source]
def on_package_downloaded : Nil #

[View source]
def on_package_installed : Nil #

[View source]
def on_package_packed : Nil #

[View source]
def on_package_removed(pkg_key : String) : Nil #

[View source]
def on_package_resolved : Nil #

[View source]
def on_packing_package : Nil #

[View source]
def on_resolving_package : Nil #

[View source]
def output : IO #

[View source]
def output_sync(&block : IO -> ) : Nil #

[View source]
def prepend(bytes : Bytes) : Nil #

[View source]
def prepend(str : String) : Nil #

[View source]
def report_builder_updates(& : -> T) : T forall T #

[View source]
def report_done(realtime, memory, install_config, *, unmet_peers : Hash(String, Hash(Utils::Semver::Range, Set(String))) | Nil = nil) : Nil #

[View source]
def report_installer_updates(& : -> T) : T forall T #

[View source]
def report_resolver_updates(& : -> T) : T forall T #

[View source]
def stop : Nil #

[View source]
def warning(error : Exception, location : String | Nil = "") : Nil #

[View source]