# tractor-logger

> A general logger for [**tractor**](https://github.com/TradeMe/tractor).

Latest version **0.1.1** (published 2017-10-02) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2017-10-02 |
| First published | 2017-01-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Craig Spence |
| Maintainers | phenomnomnominal |

## Links

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

## Dependencies (1)

- [npmlog](https://npm.io/package/npmlog.md) ^4.1.2

## Recent versions

- 0.1.1 (latest) — 2017-10-02
- 0.1.0 — 2017-02-03
- 0.1.0-beta.0 — 2017-01-29

## README

# tractor-logger

A general logger for [**tractor**](https://github.com/TradeMe/tractor).

[![Greenkeeper badge](https://badges.greenkeeper.io/phenomnomnominal/tractor-logger.svg)](https://greenkeeper.io/)
[![npm version](https://img.shields.io/npm/v/tractor-logger.svg)](https://www.npmjs.com/package/tractor-logger)
[![bitHound Overall Score](https://www.bithound.io/github/phenomnomnominal/tractor-logger/badges/score.svg)](https://www.bithound.io/github/phenomnomnominal/tractor-logger)
[![Code Climate](https://codeclimate.com/github/phenomnomnominal/tractor-logger/badges/gpa.svg)](https://codeclimate.com/github/phenomnomnominal/tractor-logger)
[![Test Coverage](https://codeclimate.com/github/phenomnomnominal/tractor-logger/badges/coverage.svg)](https://codeclimate.com/github/phenomnomnominal/tractor-logger/coverage)

## API:

### `error`:

> Logs errors to the console. Passes through to [`npmlog.error`](https://github.com/npm/npmlog#logloglevel-prefix-message-).

> #### Usage:
> ```javascript
> import { error } from 'tractor-logger';
> error('error'); // 🚜 tractor ERR! error
> ```

### `info`:

> Logs information to the console. Passes through to [`npmlog.info`](https://github.com/npm/npmlog#logloglevel-prefix-message-).

> #### Usage:
> ```javascript
> import { info } from 'tractor-logger';
> info('info'); // 🚜 tractor info info;
> ```

### `warn`:

> Logs information to the console. Passes through to [`npmlog.warn`](https://github.com/npm/npmlog#logloglevel-prefix-message-).

> #### Usage:
> ```javascript
> import { warn } from 'tractor-logger';
> warn('warn'); // 🚜 tractor WARN warn;
> ```

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