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-1.2 lib/sup/logger/singleton.rb
sup-1.1 lib/sup/logger/singleton.rb
sup-1.0 lib/sup/logger/singleton.rb
sup-0.23 lib/sup/logger/singleton.rb
sup-0.22.1 lib/sup/logger/singleton.rb
sup-0.22.0 lib/sup/logger/singleton.rb
sup-0.21.0 lib/sup/logger/singleton.rb
sup-0.20.0 lib/sup/logger/singleton.rb
sup-0.19.0 lib/sup/logger/singleton.rb
sup-0.18.0 lib/sup/logger/singleton.rb
sup-0.17.0 lib/sup/logger/singleton.rb
sup-0.16.0 lib/sup/logger/singleton.rb
sup-0.15.4 lib/sup/logger/singleton.rb
sup-0.15.3 lib/sup/logger/singleton.rb
sup-0.15.2 lib/sup/logger/singleton.rb
sup-0.15.1 lib/sup/logger/singleton.rb
sup-0.15.0 lib/sup/logger/singleton.rb
sup-0.14.1.1 lib/sup/logger/singleton.rb
sup-0.13.2.1 lib/sup/logger/singleton.rb
sup-0.14.1 lib/sup/logger/singleton.rb