Timber v3.1.2 Timber.Contexts.SystemContext 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(system: %{hostname: "hostname", pid: "abcd1234"})

Please note that this context is set automatically for you as part of this library. You should not need 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() :: %{hostname: String.t() | nil, pid: String.t() | nil}

Link to this type

t() View Source
t() :: %Timber.Contexts.SystemContext{
  hostname: String.t() | nil,
  pid: String.t() | nil
}