# standalone-logger

> tiny logger for development logging

Latest version **1.0.16** (published 2019-07-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install standalone-logger
pnpm add standalone-logger
yarn add standalone-logger
bun add standalone-logger
```

## 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.16 |
| Published | 2019-07-03 |
| First published | 2019-03-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 34.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | bitofant |
| Maintainers | bitofant |

## Links

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

## Recent versions

- 1.0.16 (latest) — 2019-07-03
- 1.0.15 — 2019-07-03
- 1.0.14 — 2019-07-03
- 1.0.13 — 2019-07-03
- 1.0.12 — 2019-07-03
- 1.0.11 — 2019-07-03
- 1.0.9 — 2019-07-03
- 1.0.8 — 2019-06-25
- 1.0.7 — 2019-06-25
- 1.0.6 — 2019-03-13
- 1.0.5 — 2019-03-13
- 1.0.4 — 2019-03-13
- 1.0.3 — 2019-03-13
- 1.0.2 — 2019-03-13
- 1.0.1 — 2019-03-13
- … 1 more at https://npm.io/package/standalone-logger/versions

## README

# standalone-logger
Tiny node.js logger for development logging and small server logging.

## Examples
Most simple usage:
```
const log = require('standalone-logger')(module);
log('some message');
```

More features:
```
import { Logger, loggerExpressEndpoint, LoggerSettings } from 'standalone-logger';
const log = Logger(module);

import express from 'express';
const app = express();
app.use('/logging', loggerExpressEndpoint);
app.listen(3000);
// see http://localhost:3000/logging

LoggerSettings.logfile = __dirname + '/app.log';
```

![screenshot](screenshot.png)

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