Sha256: 36d3af243bb30224f66a6eda1cde86c676a1ad44b2ec17f9fc9a275bde025460

Contents?: true

Size: 239 Bytes

Versions: 9

Compression:

Stored size: 239 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

9 entries across 9 versions & 1 rubygems

Version Path
gorillib-0.1.7 lib/gorillib/logger/log.rb
gorillib-0.1.6 lib/gorillib/logger/log.rb
gorillib-0.1.5 lib/gorillib/logger/log.rb
gorillib-0.1.4 lib/gorillib/logger/log.rb
gorillib-0.1.3 lib/gorillib/logger/log.rb
gorillib-0.1.2 lib/gorillib/logger/log.rb
gorillib-0.1.1 lib/gorillib/logger/log.rb
gorillib-0.1.0 lib/gorillib/logger/log.rb
gorillib-0.0.8 lib/gorillib/logger/log.rb