loggex v0.1.1 Loggex.Adapters.Test View Source
Test adapter for Loggex
.
Logs all events in memory to be requested. Ideal to test logging behavior in unit tests.
Link to this section Summary
Link to this section Functions
Specs
events() :: map()
Get all tags with logged events.
Examples
iex> events()
[...]
Specs
events(Loggex.tag()) :: [map()]
Get all logged events for a given tag.
Examples
iex> events(:login)
[...]