# littlelog

> A simple logging utility.

Latest version **1.1.0** (published 2020-05-12) · GPL-3.0-only license · 0 weekly downloads

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

## Install

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

## Health

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

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2020-05-12 |
| First published | 2020-05-05 |
| Weekly downloads | 0 |
| License | GPL-3.0-only |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 38.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Jake Hamilton |
| Maintainers | jakehamilton |

## Links

- npm: https://www.npmjs.com/package/littlelog
- Repository: git@github.com:jakehamilton/littlelog
- npm.io page: https://npm.io/package/littlelog

## Dependencies (1)

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

## Recent versions

- 1.1.0 (latest) — 2020-05-12
- 1.0.0 — 2020-05-05

## README

# LittleLog

> A simple logging utility.

## Installation

Install using your favorite package manager:

```shell
# using npm
npm install --save littlelog

# using yarn
yarn add littlelog
```

## Usage

To configure the logging verbosity (defaults to `process.env.LOG_LEVEL`):

```js
const log = require('littlelog');

/*
 * Possible values are:
 * - SILENT
 * - INFO
 * - DEBUG
 * - TRACE
 */
log.setVerbosity('INFO');
```

To log messages:

```js
const log = require('littlelog');

log.info('This is an info log.');

log.debug('This is a debug log.');

log.trace('This is a trace log.');
```

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