# tailbug

> log into a file you tail

Latest version **1.0.0** (published 2014-12-15) · ISC license · 0 weekly downloads

## Install

```sh
npm install tailbug
pnpm add tailbug
yarn add tailbug
bun add tailbug
```

## 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.0 |
| Published | 2014-12-15 |
| First published | 2014-12-15 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Keyvan Fatehi |
| Maintainers | keyvanfatehi |
| Keywords | tail, log |

## Links

- npm: https://www.npmjs.com/package/tailbug
- Repository: https://github.com/keyvanfatehi/tailbug
- Issues: https://github.com/keyvanfatehi/tailbug/issues
- npm.io page: https://npm.io/package/tailbug

## Alternatives

- [cli-color](https://npm.io/package/cli-color.md) — 3.4M weekly downloads
- [log](https://npm.io/package/log.md) — 1.3M weekly downloads
- [logstash-client](https://npm.io/package/logstash-client.md) — 4.5K weekly downloads
- [@nocobase/plugin-logger](https://npm.io/package/@nocobase/plugin-logger.md) — 2.0K weekly downloads
- [child-process-debug](https://npm.io/package/child-process-debug.md) — 695 weekly downloads

## Recent versions

- 1.0.0 (latest) — 2014-12-15

## README

tailbug
=======

log into a file you tail

## Usage

You're debugging something... the logs are noisy enough, you need clarity, so you want to log to a file that you'll `tail -f` on the other side.

Step 1: Create your file `touch /tmp/test`

Step 2: Require tailbug at the source and log stuff with it:

```
var debug = require('tailbug')('/tmp/blabla')

debug("hello", { put: 'anything'}, "here", "it behaves like console.log")
```

Step 3: Run your program, get output with filename, line number , etc.

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