Syslog v0.1.0 Syslog.Event behaviour View Source

As incoming Syslog Messages are received, they are passed to the Syslog.Event.on_syslog/1 callback.

Link to this section Summary

Callbacks

User function to handle an incoming Syslog decoded message

Link to this section Callbacks

Link to this callback on_syslog(msg) View Source
on_syslog(msg :: Syslog.Entry.t) :: any

User function to handle an incoming Syslog decoded message.