Papertrail can accept logs from any Erlang (BEAM) app, with or without the
lager logging library.
Alternatively, your app can send a log message directly to Papertrail using the remote syslog protocol.
schlagert/syslog is emitting UDP, which is inherently connection-less,
the write calls are non-blocking.
Erlang applications which already use the
lager logging library can
configure it to also log to syslog. See lager_syslog, which will send logs
to a syslog daemon running on the local host (such as rsyslog or syslog-ng).
Follow standard setup to
configure the syslog daemon to forward to Papertrail.