Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

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

tree: 869ca20180

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 c_src
Octocat-spinner-32 src
Octocat-spinner-32 Emakefile
Octocat-spinner-32 Makefile
Octocat-spinner-32 README.markdown
README.markdown

A small nif to write to the local syslog daemon inspired by the project 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
Something went wrong with that request. Please try again.