lib/dexter/logging.rb in pgdexter-0.3.1 vs lib/dexter/logging.rb in pgdexter-0.3.2

- old
+ new

@@ -1,7 +1,11 @@ module Dexter module Logging def log(message = "") puts message unless $log_level == "error" end + + def abort(message) + raise Dexter::Abort, message + end end end