class SmartProxyDynflowCore::Log::ProxyAdapter
Public Class Methods
new(logger, level = Logger::DEBUG, formatters = [])
click to toggle source
# File lib/smart_proxy_dynflow_core/log.rb, line 77 def initialize(logger, level = Logger::DEBUG, formatters = []) @logger = logger @logger.level = level @logger.formatter = ProxyStructuredFormater.new(@logger) @action_logger = apply_formatters(ProgNameWrapper.new(@logger, ' action'), [ProxyStructuredFormater]) @dynflow_logger = apply_formatters(ProgNameWrapper.new(@logger, 'dynflow'), [ProxyStructuredFormater]) end