scb-graylog
TypeScript icon, indicating that this package has built-in type declarations

1.2.2 • Public • Published

Graylog v1.2.2

Installation npm

npm install scb-graylog

Using

TypeScript

import graylog, { appendToConsole } from "scb-graylog";

const gr = graylog.setConfig({
  servers: [{ host: " 10.0.15.34", port: 1246 }],
  ignoreErrors: true,
});

gr.log("some data");
// or
graylog.log("some data");

//
appendToConsole();
console.log("Logg..");

JavaScript (NodeJS)

const graylog = require("scb-graylog");

const gr = graylog.setConfig({
  servers: [{ host: " 10.0.15.34", port: 1246 }],
  ignoreErrors: true,
});

gr.log("some data");
// or
graylog.log("some data");

Readme

Keywords

Package Sidebar

Install

npm i scb-graylog

Weekly Downloads

11

Version

1.2.2

License

MIT

Unpacked Size

22.5 kB

Total Files

18

Last publish

Collaborators

  • loliallen