2.1.1 • Published 2 years ago

@divine/sysconsole v2.1.1

Weekly downloads
17
License
Apache-2.0
Repository
github
Last release
2 years 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

2 years ago

2.1.0

2 years ago

2.0.0

5 years ago

1.1.0

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago