1.0.3Actualizado Apr 19, 2026

swift-log

A quick file logger

Todavía no hay resumen de changelog.

Swift-Log

Swift-Log 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-Log.

npm i swift-log --save

Usage

import logger from '@anthonywhite/swift-logger';
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

Comparar versiones

Elige dos releases con notas de changelog para revisar los cambios.

Todavía no hay resumen de changelog.