@busmarket/bm-logs-js
TypeScript icon, indicating that this package has built-in type declarations

1.1.7 • Public • Published

JS client for collecting logs

STANDARD OF JOURNALS FOR INTERNAL SERVICES - BM Parts

Installation

npm i @busmarket/bm-logs-js

Overview

Using JavaScript:

const BmLogs = require('@busmarket/bm-logs-js');

Using TypeScript:

import {BmLogs} from '@busmarket/bm-logs-js';
const internalLogger = new BmLogs({filename: `log__${Date.now()}`});
internalLogger.log({
    severity: 'error',
    type: 'Service',
    service: 'Name service',
    result: 'Error',
    message: `Error message`,
    username: `Username`
})

Readme

Keywords

Package Sidebar

Install

npm i @busmarket/bm-logs-js

Weekly Downloads

2

Version

1.1.7

License

UNLICENSED

Unpacked Size

51.7 kB

Total Files

8

Last publish

Collaborators

  • andrey.rymaruk