Method: Logtail::Integration#enabled=

Defined in:
lib/logtail/integration.rb

#enabled=(value) ⇒ Object

Easily sisable entire library integrations. This is like removing the code from Logtail. It will not touch this library and the library will function as it would without Logtail.

Examples:

Logtail::Integrations::ActiveRecord.enabled = false


12
13
14
# File 'lib/logtail/integration.rb', line 12

def enabled=(value)
  @enabled = value
end