Method: Hanami::Config::Logger#stream
- Defined in:
- lib/hanami/config/logger.rb
#stream ⇒ String, #write
Sets or returns the logger’s stream.
This can be a file path or an IO-like object for the logger to write to.
Defaults to ‘“log/test.log”` for the test environment and `$stdout` for all others.
49 |
# File 'lib/hanami/config/logger.rb', line 49 setting :stream, default: $stdout |