Sha256: 3f022aecfbebab97d14f23ec2319086f7a5382767456e37290c5c3587d3ed328

Contents?: true

Size: 350 Bytes

Versions: 7

Compression:

Stored size: 350 Bytes

Contents

module Splash
  module Loggers

    class Dual < Splash::Loggers::LoggerTemplate
      include Splash::Config



      def initialize
        super
        @log1 = Splash::Loggers::Cli::new
        @log2 = Splash::Loggers::Daemon::new
      end

      def log(options)
        @log1.log options
        @log2.log options
      end

    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
prometheus-splash-0.5.0 lib/splash/loggers/dual.rb
prometheus-splash-0.4.5 lib/splash/loggers/dual.rb
prometheus-splash-0.4.4 lib/splash/loggers/dual.rb
prometheus-splash-0.4.3 lib/splash/loggers/dual.rb
prometheus-splash-0.4.2 lib/splash/loggers/dual.rb
prometheus-splash-0.4.1 lib/splash/loggers/dual.rb
prometheus-splash-0.4.0 lib/splash/loggers/dual.rb