swift-log
1.0.3 • Public • Published Swift-Logger
Swift-Logger is a node.js log function that exports to a directory and file of your own choosing.
Installation
Use the package manager NPM to install Swift-Logger.
Usage
import logger from 'swift-log';
const logInfo = logger('logs/info.log');
const logRequests = logger('logs/requests.log');
logInfo('What you write here is stringified to JSON!');
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
MIT
Versions
Version | Downloads (Last 7 Days) | Tag |
---|
1.0.3 | 0 | latest |
Version History
Version | Downloads (Last 7 Days) | Published |
---|
1.0.3 | 0 | |
1.0.2 | 0 | |
1.0.1 | 0 | |
1.0.0 | 0 | |
Package Sidebar
Install
Weekly Downloads