Class: Hotwired::Logger
- Inherits:
-
Logger
- Object
- Logger
- Hotwired::Logger
- Defined in:
- lib/hotwired/log.rb
Instance Method Summary collapse
- #file=(target) ⇒ Object
-
#initialize(target = STDOUT) ⇒ Logger
constructor
A new instance of Logger.
Constructor Details
Instance Method Details
#file=(target) ⇒ Object
12 13 14 |
# File 'lib/hotwired/log.rb', line 12 def file=(target) @log_device = LogDevice.new target end |