Skip to content

v1.2.0 - Reduce noise when inspecting Babel.Traces by introducing a new `depth` option

Latest
Compare
Choose a tag to compare
@alexocode alexocode released this 07 Nov 13:47
6ad4ea2

Added

  • Add a custom depth inspect option for Babel.Traces which controls how many nested traces should be rendered [@alexocode]
  • Add a Babel.Trace.reduce/2 function that reduces over the trace and all nested traces [@alexocode]
  • Add a Babel.Trace.inspect/2 function as a shortcut for inspect(<trace>, custom_options: <opts>) [@alexocode]

Changed

  • Change the default inspect behaviour for Babel.Traces to omit all nested traces [@alexocode]