UNPKG

jaid-logger

Version:

Creates an opinionated Winston logger with advanced file system output.

60 lines (34 loc) 3.03 kB
# jaid-logger Creates an opinionated Winston logger with advanced file system output. <a href="https://raw.githubusercontent.com/Jaid/jaid-logger/master/license.txt"><img src="https://img.shields.io/github/license/Jaid/jaid-logger?style=flat-square&color=success" alt="License"/></a> <a href="https://github.com/Jaid/jaid-logger/commits"><img src="https://img.shields.io/github/commits-since/Jaid/jaid-logger/v2.0.0?style=flat-square&logo=github&color=success" alt="Commits since v2.0.0"/></a> <a href="https://github.com/Jaid/jaid-logger/commits"><img src="https://img.shields.io/github/last-commit/Jaid/jaid-logger?style=flat-square&logo=github&color=red" alt="Last commit"/></a> <a href="https://github.com/Jaid/jaid-logger/issues"><img src="https://img.shields.io/github/issues/Jaid/jaid-logger?style=flat-square&logo=github&color=red" alt="Issues"/></a> <a href="https://npmjs.com/package/jaid-logger"><img src="https://img.shields.io/npm/v/jaid-logger?style=flat-square&logo=npm&label=latest%20version&color=success" alt="Latest version on npm"/></a> <a href="https://github.com/Jaid/jaid-logger/network/dependents"><img src="https://img.shields.io/librariesio/dependents/npm/jaid-logger?style=flat-square&logo=npm&color=red" alt="Dependents"/></a> <a href="https://npmjs.com/package/jaid-logger"><img src="https://img.shields.io/npm/dm/jaid-logger?style=flat-square&logo=npm&color=red" alt="Downloads"/></a> ## Installation <a href="https://npmjs.com/package/jaid-logger"><img src="https://img.shields.io/badge/npm-jaid--logger-C23039?style=flat-square&logo=npm" alt="jaid-logger on npm"/></a> ```bash npm install --save jaid-logger@^2.0.0 ``` <a href="https://yarnpkg.com/package/jaid-logger"><img src="https://img.shields.io/badge/Yarn-jaid--logger-2F8CB7?style=flat-square&logo=yarn&logoColor=white" alt="jaid-logger on Yarn"/></a> ```bash yarn add jaid-logger@^2.0.0 ``` ## License ```text MIT License Copyright © 2019, Jaid <jaid.jsx@gmail.com> (github.com/jaid) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ```