Sha256: fa7a319ce27d3a24569c882d737fb9aa8cbb6807f274b501952341041e4e5a1f

Contents?: true

Size: 238 Bytes

Versions: 6

Compression:

Stored size: 238 Bytes

Contents

require 'logger'

#
# A convenient logger.
#
# define Log yourself to prevent its creation
#
::Log = Logger.new(STDERR) unless defined?(::Log)

def Log.dump *args
  debug args.map(&:inspect).join("\t")
end unless Log.respond_to?(:dump)


Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gorillib-0.0.7 lib/gorillib/logger/log.rb
gorillib-0.0.6 lib/gorillib/logger/log.rb
gorillib-0.0.5 lib/gorillib/logger/log.rb
gorillib-0.0.4 lib/gorillib/logger/log.rb
gorillib-0.0.3 lib/gorillib/logger/log.rb
gorillib-0.0.2 lib/gorillib/logger/log.rb