Module: FlowTrace

Defined in:
lib/flow_trace.rb,
lib/flow_trace/step.rb,
lib/flow_trace/server.rb,
lib/flow_trace/version.rb,
lib/flow_trace/settings.rb

Defined Under Namespace

Classes: Server, Settings, Step

Constant Summary collapse

VERSION =
'0.0.4'

Class Attribute Summary collapse

Class Attribute Details

.loggerObject



13
14
15
16
17
18
19
20
21
22
23
# File 'lib/flow_trace.rb', line 13

def logger
  @logger ||= Logger.new($stdout).tap do |log|
    log.progname = self.name
  end

  @logger.formatter = proc do |severity, datetime, progname, msg|
    "#{msg}\n"
  end

  @logger
end