Method: LazyGraph::StackPointer#log_debug
- Defined in:
- lib/lazy_graph/stack_pointer.rb
#log_debug(**log_item) ⇒ Object
Logs debugging information related to this stack pointer in the root frame’s DEBUG section.
55 56 57 58 59 |
# File 'lib/lazy_graph/stack_pointer.rb', line 55 def log_debug(**log_item) root.frame[:DEBUG] = [] if !root.frame[:DEBUG] || root.frame[:DEBUG].is_a?(MissingValue) root.frame[:DEBUG] << { **log_item, location: to_s } nil end |