# gulp-tracer

> Gulp module to log messages - based on default gulp-util log

Latest version **0.1.2** (published 2015-10-28) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install gulp-tracer
pnpm add gulp-tracer
yarn add gulp-tracer
bun add gulp-tracer
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.1.2 |
| Published | 2015-10-28 |
| First published | 2015-09-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | StefanoMagrassi |
| Maintainers | stefano_magrassi |
| Keywords | gulpplugin, gulp, util, module, plugin, trace, log |

## Links

- npm: https://www.npmjs.com/package/gulp-tracer
- Repository: https://github.com/StefanoMagrassi/gulp-tracer
- Homepage: https://github.com/StefanoMagrassi/gulp-tracer#readme
- Issues: https://github.com/StefanoMagrassi/gulp-tracer/issues
- npm.io page: https://npm.io/package/gulp-tracer

## Dependencies (2)

- [chalk](https://npm.io/package/chalk.md) ^1.1.1
- [gulp-util](https://npm.io/package/gulp-util.md) ^3.0.6

## 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

- 0.1.2 (latest) — 2015-10-28
- 0.1.1 — 2015-10-01
- 0.1.0 — 2015-09-30

## README

# gulp-tracer
Gulp module to log messages - based on default gulp-util log

## Usage

Install from npm repository:

    npm install --save gulp-tracer


Import **gulp-tracer** module:

    var tracer = require('gulp-tracer');
  

Logs whatever you want, with 5 different renderings:

    tracer.log('Simple log message');
    tracer.info('Info message');
    tracer.success('Urrah!');
    tracer.warn('Achtung!');
    tracer.error('Oh, no!');


The methods act like `console.log`, so you can pass as many parameters you want:

    tracer.log('I', 'am', 'a', 'simple', 'logger');

The methods are all chainable; so you can write the previous line as:

    tracer.log('Simple log message')
          .info('Info message')
          .success('Urrah!')
          .warn('Achtung!')
          .error('Oh, no!');

`log` method is also a factory to call the other tracer's method; so, again, you can write something like:

    tracer.log('Simple log message')
          .log('info', 'Info message')
          .log('success', Urrah!')
          .log('warn', 'Achtung!')
          .log('error', 'Oh, no!');

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