Class: Hanami::Model::Migrator::Logger Private
- Inherits:
-
Logger
- Object
- Logger
- Hanami::Model::Migrator::Logger
- Defined in:
- lib/hanami/model/migrator/logger.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Automatic logger for migrations
Defined Under Namespace
Classes: Formatter
Instance Method Summary collapse
-
#initialize(stream) ⇒ Logger
constructor
private
A new instance of Logger.
Constructor Details
#initialize(stream) ⇒ Logger
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Logger.
29 30 31 |
# File 'lib/hanami/model/migrator/logger.rb', line 29 def initialize(stream) super(nil, stream: stream, formatter: Formatter.new) end |