Sha256: 3818bb4315b6167bacd74d1b4099c4723a938490326f775a7ecba17d1f9be18a
Contents?: true
Size: 341 Bytes
Versions: 3
Compression:
Stored size: 341 Bytes
Contents
module Tagomatic class Logger def initialize(options) @options = options end def error(message, optional_exception = nil) puts "ERROR: #{message}" $stderr.puts optional_exception.backtrace if optional_exception end def verbose(message) puts message if @options[:verbose] end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tagomatic-0.1.0 | lib/tagomatic/logger.rb |
tagomatic-0.0.3 | lib/tagomatic/logger.rb |
tagomatic-0.0.2 | lib/tagomatic/logger.rb |