Timber v1.1.0 Timber.Events.ExceptionEvent
The ExceptionEvent
is used to track exceptions.
Timber can automatically keep track of errors reported by the VM by hooking
into the SASL reporting system to collect exception information, so it should
be unnecessary to track exceptions manually. See Timber.Integrations.ErrorLogger
for
more details.
Summary
Functions
Message to be used when logging
Builds a new struct taking care to normalize data into a valid state. This should be used, where possible, instead of creating the struct directly
Types
stacktrace_entry()
stacktrace_entry() :: {module, atom, arity, [file: IO.chardata, line: non_neg_integer] | []}
t()
t() :: %Timber.Events.ExceptionEvent{backtrace: [backtrace_entry] | [], message: String.t, name: String.t}
Functions
Message to be used when logging.
Builds a new struct taking care to normalize data into a valid state. This should be used, where possible, instead of creating the struct directly.