lib/gooddata/bricks/middleware/logger_middleware.rb in gooddata-0.6.10 vs lib/gooddata/bricks/middleware/logger_middleware.rb in gooddata-0.6.11
- old
+ new
@@ -8,10 +8,10 @@
module Bricks
class LoggerMiddleware < Bricks::Middleware
def call(params)
logger = params['GDC_LOGGER'] = params[:GDC_LOGGER_FILE].nil? ? Logger.new(STDOUT) : Logger.new(params[:GDC_LOGGER_FILE])
logger.info('Pipeline starts')
- returning(@app.call(params)) do |result|
+ returning(@app.call(params)) do |_result|
logger.info('Pipeline ending')
end
end
end
end