Class: ApolloStudioTracing::ApolloLogger

Inherits:
Logger
  • Object
show all
Defined in:
lib/apollo-studio-tracing/logger.rb

Instance Method Summary collapse

Instance Method Details

#format_message(severity, timestamp, progname, msg) ⇒ Object



5
6
7
# File 'lib/apollo-studio-tracing/logger.rb', line 5

def format_message(severity, timestamp, progname, msg)
  "[#{timestamp}] #{severity} #{progname}: [Apollo Studio Tracing] #{msg}\n"
end