# lengthy-logger

> a console.log alternative that tells you where you log is being called from (so you can delete it when you are finished with it)

Latest version **1.0.2** (published 2017-10-14) · ISC license · 0 weekly downloads

## Install

```sh
npm install lengthy-logger
pnpm add lengthy-logger
yarn add lengthy-logger
bun add lengthy-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.2 |
| Published | 2017-10-14 |
| First published | 2017-10-14 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | gvost |

## Links

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

## Dependencies (1)

- [chalk](https://npm.io/package/chalk.md) ^2.1.0

## Recent versions

- 1.0.2 (latest) — 2017-10-14
- 1.0.1 — 2017-10-14
- 1.0.0 — 2017-10-14

## README

### ___the lengthy logger___
> I used to get pretty frustrated when I would finish something and then need to remove all of my `console.log()`'s after loosing the context in my mind, so I made this kind of a logger to remind me exactly where I left my messages to myself. I will be expanding it so as to make it more fun to configure and use, drop feature requests into this repo's issues, and if you see anything wrong also let me know there. I hope that this is a helpful way to get a tiny bit more out of logging to the console 🤘

#### install
```sh
npm install --save-dev lengthy-logger
```

#### usage
> super simple here  

```js
var log = require('lengthy-logger')

var object = {
  thing1: 'bar',
  thing2: true
}
var array = ['loo', 'tag', 'moo']

log('single string argument')
// output: file@/Users/yourusername/.../where/you/called/file.js@line12 🗣 single string argument
log('string1', 'string2', 'string3', 'string4')
// output: file@/Users/yourusername/.../where/you/called/file.js@line12 🗣 string1 string2 string3 string4
log('string', object, array)
// output: file@/Users/yourusername/.../where/you/called/file.js@line12 🗣 string
//  [{ thing1: 'bar', thing2: true }, ['loo', 'tag', 'moo']]
```

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