telemetry-loggins
v0.0.0
Published
Standard logging package for shortlyster microservices
Downloads
1
Readme
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