# trustcheckr-node-logger

> Logging package for TrustCheckr

Latest version **1.0.0** (published 2020-06-08) · ISC license · 0 weekly downloads

## Install

```sh
npm install trustcheckr-node-logger
pnpm add trustcheckr-node-logger
yarn add trustcheckr-node-logger
bun add trustcheckr-node-logger
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2020-06-08 |
| First published | 2020-06-08 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 2.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Shubham Gupta |
| Maintainers | trustcheckr |
| Keywords | logger, log |

## Links

- npm: https://www.npmjs.com/package/trustcheckr-node-logger
- npm.io page: https://npm.io/package/trustcheckr-node-logger

## Dependencies (1)

- [winston](https://npm.io/package/winston.md) ^3.2.1

## Alternatives

- [cli-color](https://npm.io/package/cli-color.md) — 3.4M weekly downloads
- [log](https://npm.io/package/log.md) — 1.3M weekly downloads
- [logstash-client](https://npm.io/package/logstash-client.md) — 4.5K weekly downloads
- [@nocobase/plugin-logger](https://npm.io/package/@nocobase/plugin-logger.md) — 2.0K weekly downloads
- [child-process-debug](https://npm.io/package/child-process-debug.md) — 695 weekly downloads

## Recent versions

- 1.0.0 (latest) — 2020-06-08

## README

# node-logger

A custom logger for our production applications.

# Usage

```
const Logger = require('@trustcheckr/node-logger');

const logger = new Logger();

// passing objects are optional

logger.info('this is a info log');

// these logs will not be added to the log file
logger.debug('this is a debug log', {
    'key': 'value'
});

logger.error('Hi, I am an error! Fix me', errorObj);

```

---
_Source: https://npm.io/package/trustcheckr-node-logger · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
