0.3.1 • Published 4 years ago

bkjs-syslog v0.3.1

Weekly downloads
4
License
BSD-3-Clause
Repository
github
Last release
4 years ago

syslog module for node and backendjs

Supports UDP and Unix domain socket, the primary goal is to use with local syslogd server, does not depend on the libc syslog library.

Usage

  • open(name, priority, facility) - initialize syslog client, used by the logger module
  • send(level, text)
  • close()
  var syslog = require("bkjs-syslog");
  syslog.open("test", syslog.LOG_PID | syslog.LOG_CONS, syslog.LOG_DAEMON);
  syslog.send(syslog.LOG_ERR, "Error test");

Author

Vlad Seryakov

0.3.1

4 years ago

0.3.0

7 years ago

0.2.0

8 years ago

0.1.3

8 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago