Class | Hiera::FallbackLogger |
In: |
lib/hiera/fallback_logger.rb
|
Parent: | Object |
Select from a given list of loggers the first one that it suitable and use that as the actual logger
@api private
Chooses the first suitable logger. For all of the loggers that are unsuitable it will issue a warning using the suitable logger stating that the unsuitable logger is not being used.
@param implementations [Array<Hiera::Logger>] the implementations to choose from @raises when there are no suitable loggers