1.0.4 • Published 8 months ago

@josephdaw/logger v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

Logger

npm (scoped) GitHub Node.js CI Contributor Covenant

Table of Contents

Description

A basic logger for Node.js applications. It has three logger transports set up. The first outputs to the console, the second outputs only errors to a file, and the third outputs down to the info level to a log file. The level that the console transport logs to is set by the LOG_LEVEL environment variable. If no level is set, it will default to 'info'.

Installation

Using npm

npm install @josephdaw/logger

Usage

Importing

const logger = require('@josephdaw/logger');

Issues and Requests

Please report any bugs or feature requests via GitHub Issues.

Security

Please report any security issues to dev@josephdaw.com. Find more information in our Security Policy

Contributing

All development of this project happens through GitHub. We welcome constructive collaboration from the community to help implement new features or fix bugs. For more information please read our Contribution Guide

Changelog

Every significant change is documented in the changelog file.

License

This project is released under the MIT License.

1.0.4

8 months ago

1.0.3

8 months ago

1.0.2

8 months ago

1.0.1

8 months ago