# swift-log

> A quick file logger

Latest version **1.0.3** (published 2018-12-04) · ISC license · 0 weekly downloads

## Install

```sh
npm install swift-log
pnpm add swift-log
yarn add swift-log
bun add swift-log
```

## 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.3 |
| Published | 2018-12-04 |
| First published | 2018-12-04 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 9 |
| Unpacked size | 7.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Anthony White |
| Maintainers | anthonywhite |

## Links

- npm: https://www.npmjs.com/package/swift-log
- Repository: https://github.com/AnthonySLWhite/swift-logger
- Homepage: https://github.com/AnthonySLWhite/swift-logger#readme
- Issues: https://github.com/AnthonySLWhite/swift-logger/issues
- npm.io page: https://npm.io/package/swift-log

## Dependencies (9)

- [hbs](https://npm.io/package/hbs.md) ^4.0.1
- [chalk](https://npm.io/package/chalk.md) ^2.4.1
- [react](https://npm.io/package/react.md) ^16.3.2
- [dotenv](https://npm.io/package/dotenv.md) ^6.1.0
- [express](https://npm.io/package/express.md) ^4.16.4
- [nodemon](https://npm.io/package/nodemon.md) ^1.18.6
- [react-dom](https://npm.io/package/react-dom.md) ^16.3.2
- [npm-run-all](https://npm.io/package/npm-run-all.md) ^3.1.2
- [babel-polyfill](https://npm.io/package/babel-polyfill.md) ^6.26.0

## Recent versions

- 1.0.3 (latest) — 2018-12-04
- 1.0.2 — 2018-12-04
- 1.0.1 — 2018-12-04
- 1.0.0 — 2018-12-04

## README

# 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](https://www.npmjs.com/package/swift-log) to install Swift-Logger.

```bash
npm i swift-log --save
```

## Usage

```javascript
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](https://choosealicense.com/licenses/mit/)

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