Timber v3.1.2 Timber.Contexts.RuntimeContext View Source

DEPRECATED

This module is deprecated in favor of using maps. The next evolution of Timber (2.0) no long requires a strict schema and therefore simplifies how users set context:

Timber.add_context(runtime: %{application: "my_app", file: "my_file.ex"})

Please note that this context is added automatically as part of shipping log data. You should not have to do anything to obtain this context.

Link to this section Summary

Link to this section Types

Link to this type

m() View Source
m() :: %{
  application: String.t(),
  file: String.t(),
  function: String.t(),
  line: String.t(),
  module_name: String.t(),
  vm_pid: String.t()
}

Link to this type

t() View Source
t() :: %Timber.Contexts.RuntimeContext{
  application: String.t(),
  file: String.t(),
  function: String.t(),
  line: String.t(),
  module_name: String.t(),
  vm_pid: String.t()
}