2.1.1 • Published 6 months ago

@divine/sysconsole v2.1.1

Weekly downloads
17
License
Apache-2.0
Repository
github
Last release
6 months ago

The Divine Syslog Console

This is a pure JavaScript (or TypeScript, actually) Console replacement for Node.js that sends all the log messages to a remote syslog server via either UDP or TCP.

It's more or less rconsole-compatible.

How to use

You can instantiate the SysConsole object manually, but what you probably want is this:

import { SysConsole } from '@divine/sysconsole';

declare var console : SysConsole;

SysConsole.replaceConsole({ loghost: 'localhost', facility: 'local0', title: 'MySweetApp', showFile: false, syslogTags: true, highestLevel: 'info' });
2.1.1

6 months ago

2.1.0

6 months ago

2.0.0

4 years ago

1.1.0

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago