Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ngerakines/syslognif

A small nif to tap into syslog from an Erlang node.
https://github.com/ngerakines/syslognif

Last synced: about 1 month ago
JSON representation

A small nif to tap into syslog from an Erlang node.

Awesome Lists containing this project

README

        

A small nif to write to the local syslog daemon inspired by the project [JacobVorreuter/erlang_syslog](http://github.com/JacobVorreuter/erlang_syslog). Patches wanted.

# TODO

* openlog options
* tests

# Usage

Easier than you think:

$ erl -pa /path/to/syslognif/ebin
1> syslog:open("foo").
ok
2> syslog:write(3, "This is a dead parrot!").
ok
3> syslog:close().
ok