0.0.0 • Published 4 years ago

telemetry-loggins v0.0.0

Weekly downloads
2
License
UNLICENSED
Repository
github
Last release
4 years ago

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