Class: PactBrokerPadrinoLogger

Inherits:
SemanticLogger::Logger
  • Object
show all
Includes:
Padrino::Logger::Extensions
Defined in:
lib/pact_broker/ui.rb

Instance Method Summary collapse

Instance Method Details

#levelObject

Padrino expects level to return an integer, not a symbol



15
16
17
# File 'lib/pact_broker/ui.rb', line 15

def level
  Padrino::Logger::Levels[SemanticLogger.default_level]
end