Sha256: 34e42842b55ab87359ca8e464b12b9b7b1b664b21961b83e26c8728df8a2e43c

Contents?: true

Size: 308 Bytes

Versions: 23

Compression:

Stored size: 308 Bytes

Contents

# TODO: this is ugly. It's better to have a application singleton passed
# down to lower level components instead of including logging methods in
# class `Object'
#
# For now this is what we have to do.
require "sup/logger"
Redwood::Logger.init.add_sink $stderr
class Object
  include Redwood::LogsStuff
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
sup-0.14.0 lib/sup/logger/singleton.rb
sup-0.13.2 lib/sup/logger/singleton.rb
sup-0.13.1 lib/sup/logger/singleton.rb