@c3reve/node-log
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

@c3reve/node-log

installation

npm install @c3reve/node-log

usage

JavaScript

const log = require('@c3reve/node-log');
const express = require('express');
const app = express();

log.configure(process.env.LOG_TYPE, process.env.LOG_DEBUG_LEVEL);
app.use(log.express);

log.info(`Server is up and running at port ${PORT}`);

TypeScript

import * as log from '@c3reve/node-log';

log.configure(process.env.LOG_TYPE, process.env.LOG_DEBUG_LEVEL);
app.use(log.express);

log.info(`Server is up and running at port ${PORT}`);

Readme

Keywords

none

Package Sidebar

Install

npm i @c3reve/node-log

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

2.88 kB

Total Files

4

Last publish

Collaborators

  • c3reve