loggex v0.1.1 Loggex.Adapter behaviour View Source

Adapter to implement for logging.

Link to this section Summary

Callbacks

Log an event under a given tag

Link to this section Callbacks

Specs

log(tag :: Loggex.tag(), event :: (() -> map()), opts :: Keyword.t()) ::
  :ok | {:error, atom()}

Log an event under a given tag