LogOut.Adapter behaviour (log_out v0.1.5)

Copy Markdown

A behaviour module for implementing custom chat log adapters.

Summary

Callbacks

Should handle mapping the Elixir log_event and the given adapter config into an HTTP request to the target chat service.

Callbacks

send_message(log_event, config)

@callback send_message(log_event :: map(), config :: keyword()) :: any()

Should handle mapping the Elixir log_event and the given adapter config into an HTTP request to the target chat service.