Sha256: cb48a5e1e81d938de236d96e6ad5b7bbd79a1fb29972041c675ce2e1d61d83db

Contents?: true

Size: 190 Bytes

Versions: 6

Compression:

Stored size: 190 Bytes

Contents

module Dexter
  module Logging
    def log(message = "")
      puts message unless $log_level == "error"
    end

    def abort(message)
      raise Dexter::Abort, message
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
pgdexter-0.3.7 lib/dexter/logging.rb
pgdexter-0.3.6 lib/dexter/logging.rb
pgdexter-0.3.5 lib/dexter/logging.rb
pgdexter-0.3.4 lib/dexter/logging.rb
pgdexter-0.3.3 lib/dexter/logging.rb
pgdexter-0.3.2 lib/dexter/logging.rb