class TCellAgent::NativeLogger

Public Class Methods

new(native_agent) click to toggle source
# File lib/tcell_agent/logger.rb, line 55
def initialize(native_agent)
  @native_agent = native_agent
end

Public Instance Methods

exception(module_name, exception) click to toggle source
# File lib/tcell_agent/logger.rb, line 59
def exception(module_name, exception)
  @native_agent.log_message(
    'debug', exception.backtrace.join("\n"), module_name
  )
end