class StatsdServer::Output::Stdout
Attributes
logger[RW]
Public Class Methods
new(opts = {})
click to toggle source
# File lib/statsdserver/output/stdout.rb, line 6 def initialize(opts = {}) @logger = Logger.new(STDERR) $stdout.sync = true # autoflush end
Public Instance Methods
send(str)
click to toggle source
# File lib/statsdserver/output/stdout.rb, line 12 def send(str) puts str end