Method: Logging::MappedDiagnosticContext#peek

Defined in:
lib/logging/diagnostic_context.rb

#peekObject

Returns the most current Hash from the stack of contexts.



190
191
192
# File 'lib/logging/diagnostic_context.rb', line 190

def peek
  stack.last
end