Module: Hubbado::Log::Controls::Stacktrace

Defined in:
lib/hubbado/log/controls/stacktrace.rb

Overview

What the logger synthesises for a line carrying no exception: Kernel.caller, joined by newlines. Recognisably a stack, and recognisably not any other string a spec asserts on.

Class Method Summary collapse

Class Method Details

.exampleObject



8
9
10
# File 'lib/hubbado/log/controls/stacktrace.rb', line 8

def self.example
  "lib/scanning.rb:14:in 'sweep'\nlib/cli.rb:3:in 'call'"
end