Module: JetstreamBridge::DebugHelper
- Defined in:
- lib/jetstream_bridge/core/debug_helper.rb
Overview
Debug helper for troubleshooting JetStream Bridge operations
Class Method Summary collapse
-
.debug_info ⇒ Object
Print comprehensive debug information about the current setup.
Class Method Details
.debug_info ⇒ Object
Print comprehensive debug information about the current setup
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/jetstream_bridge/core/debug_helper.rb', line 10 def debug_info info = { config: config_debug, connection: connection_debug, stream: stream_debug, health: JetstreamBridge.health_check } Logging.info('=== JetStream Bridge Debug Info ===', tag: 'JetstreamBridge::Debug') info.each do |section, data| Logging.info("#{section.to_s.upcase}:", tag: 'JetstreamBridge::Debug') log_hash(data, indent: 2) end Logging.info('=== End Debug Info ===', tag: 'JetstreamBridge::Debug') info end |