Class: Fluent::AirbrakePythonOutput::Notice

Inherits:
Airbrake::Notice
  • Object
show all
Defined in:
lib/fluent/plugin/out_airbrake_python.rb

Instance Method Summary collapse

Constructor Details

#initialize(args) ⇒ Notice

Returns a new instance of Notice.



70
71
72
73
74
75
76
# File 'lib/fluent/plugin/out_airbrake_python.rb', line 70

def initialize(args)
  backtrace = args.delete(:backtrace)
  super
  @error_class = args[:error_class]
  @hostname = args[:hostname] if args[:hostname]
  @backtrace = backtrace
end