st0012/ruby_tracer

Allow top-level configurations

st0012 opened this issue · 0 comments

All the tracer-level options should be globally configurable too. For now, they are:

  • output
  • pattern

And the API may look like:

Tracer.output = File.open("/my/trace.log") # default STDOUT
Tracer.pattern = /my_pattern/ # default nil