diff options
Diffstat (limited to 'lib/leap_cli/log.rb')
-rw-r--r-- | lib/leap_cli/log.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/leap_cli/log.rb b/lib/leap_cli/log.rb index 01d372c..fe9e1b7 100644 --- a/lib/leap_cli/log.rb +++ b/lib/leap_cli/log.rb @@ -28,6 +28,20 @@ module LeapCli def log_level logger.log_level end + + # + # These probably should have been part of the logger originally, + # but they are made available here for convenience: + # + + def bail!(*args, &block) + Util.bail!(*args, &block) + end + + def assert!(*args, &block) + Util.assert!(*args, &block) + end + end end |