Sha256: 1cd36aedaed2543505750e61509ac6c68763a4df0a3228625f27d34009c23bfa
Contents?: true
Size: 415 Bytes
Versions: 19
Compression:
Stored size: 415 Bytes
Contents
# encoding: UTF-8 require_relative 'base_middleware' module GoodData module Bricks class STDOUTLoggingMiddleware < Bricks::Middleware def call(params) logger = Logger.new(STDOUT) params[:logger] = logger logger.info('Pipeline starting with STDOUT logger') returning(@app.call(params)) do logger.info('Pipeline ending') end end end end end
Version data entries
19 entries across 19 versions & 1 rubygems