[erlang-questions] Architecture question: logging inside library

Benoit Chesneau <>
Mon Jan 11 19:38:03 CET 2016

On Mon, Jan 11, 2016 at 7:03 PM Max Lapshin <> wrote:

> Ok, for example in case of mpegts library, we need to raise upper, up to
> sysadmin (user, not a programmer, he cannot use error_logger output)
> information about status of bitstream like "there are too much errors" or
> "here is a known list of audio channels".

mmm why not using alarm here then?

or depending on another alarm lib for such purpose or generate an event an
let the user do what they want with it.

- benoît
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160111/ef859ed4/attachment.html>

More information about the erlang-questions mailing list