Sha256: cba3891f5337453e39e116b387d88217c2b0edfcb01fd6a00d0d331f1a39d9a5
Contents?: true
Size: 246 Bytes
Versions: 2
Compression:
Stored size: 246 Bytes
Contents
require 'woodchuck/output' class Woodchuck::Output::STDOUT < Woodchuck::Output def initialize(log_level) super(log_level) @type = :stdout end def handle(event) @logger.info "Logging event to STDOUT", event.to_hash end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
woodchuck-json-event-0.0.2 | lib/woodchuck/output/stdout.rb |
woodchuck-json-event-0.0.1 | lib/woodchuck/output/stdout.rb |