Module: Bitferry::Logging
- Defined in:
- lib/bitferry.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.log ⇒ Object
20 21 22 23 24 25 26 27 |
# File 'lib/bitferry.rb', line 20 def self.log unless @log @log = Logger.new($stderr) @log.level = Logger::WARN @log.progname = :bitferry end @log end |
.log=(log) ⇒ Object
28 |
# File 'lib/bitferry.rb', line 28 def self.log=(log) @log = log end |