Class: Bixby::ThreadDump::LoggerIO
- Inherits:
-
Object
- Object
- Bixby::ThreadDump::LoggerIO
- Defined in:
- lib/bixby-common/util/thread_dump.rb
Instance Method Summary collapse
-
#initialize(logger) ⇒ LoggerIO
constructor
A new instance of LoggerIO.
- #puts(str = "") ⇒ Object
Constructor Details
#initialize(logger) ⇒ LoggerIO
Returns a new instance of LoggerIO.
6 7 8 |
# File 'lib/bixby-common/util/thread_dump.rb', line 6 def initialize(logger) @logger = logger end |
Instance Method Details
#puts(str = "") ⇒ Object
9 10 11 |
# File 'lib/bixby-common/util/thread_dump.rb', line 9 def puts(str="") @logger.warn(str) end |