telemetry-loggins
TypeScript icon, indicating that this package has built-in type declarations

0.0.0 • Public • Published

Standard logging package

Essentially wraps and preconfigures the pino logger.

Must be used in all microservices as the default logger

import express from 'express';
import logger, { middleware as loggingMiddleware } from '@shortlyster/telemetry-loggins';

const app = express();

app.use(loggingMiddleware);

logger.info('Been working so hard');
logger.warn('Im punching my card!');
logger.error('Eight hours for what?');

Copyright & License

All code in this repository is a property of Compono Pty LTD

Copyright (C) 2020 Compono Pty LTD

Readme

Keywords

none

Package Sidebar

Install

npm i telemetry-loggins

Weekly Downloads

1

Version

0.0.0

License

UNLICENSED

Unpacked Size

2.65 kB

Total Files

4

Last publish

Collaborators

  • nikolay_nemshilov