Class: Hanami::Providers::Logger Private

Inherits:
Dry::System::Provider::Source
  • Object
show all
Defined in:
lib/hanami/providers/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.

Provider source to register logger component in Hanami slices.

See Also:

Since:

  • 2.0.0

Instance Method Summary collapse

Instance Method Details

#startObject

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.

Since:

  • 2.0.0



14
15
16
# File 'lib/hanami/providers/logger.rb', line 14

def start
  register :logger, Hanami.app.config.logger_instance
end