Honeylixir.GlobalFields (honeylixir v0.6.1) View Source
Small Agent
used to store and retrieve fields to be added to all events.
Link to this section Summary
Functions
Adds a new key value pair to the global state.
Returns a specification to start this module under a supervisor.
Gets all global fields
Removes a field from the global state.
Link to this section Functions
Specs
Adds a new key value pair to the global state.
Returns a specification to start this module under a supervisor.
See Supervisor
.
Specs
fields() :: map()
Gets all global fields
Specs
remove_field(String.t()) :: :ok
Removes a field from the global state.