Class: FacebookAds::CrashLogger
- Inherits:
-
Object
- Object
- FacebookAds::CrashLogger
- Defined in:
- lib/facebook_ads/crash_logger.rb
Class Method Summary collapse
-
.disable ⇒ Object
Disable crash reporting.
-
.enable ⇒ Object
Enable crash reporting.
Class Method Details
.disable ⇒ Object
Disable crash reporting
116 117 118 |
# File 'lib/facebook_ads/crash_logger.rb', line 116 def disable @@enabled = false end |
.enable ⇒ Object
Enable crash reporting
103 104 105 106 107 108 109 110 111 112 113 |
# File 'lib/facebook_ads/crash_logger.rb', line 103 def enable if !@@hasRegisteredCrashBlock then at_exit do completion() end @@hasRegisteredCrashBlock = true end @@enabled = true end |