Module: Hypertrace::Logging

Instance Method Summary collapse

Instance Method Details

#logObject



5
6
7
8
9
10
11
12
# File 'lib/hypertrace/logging.rb', line 5

def log
  @_logger ||= begin
                 l = Logger.new(STDOUT)
                 l.level = get_level
                 l.progname = 'Hypertrace'
                 l
               end
end