# lillog

> Simple UDP Based logging lib

Latest version **1.0.7** (published 2017-06-19) · ISC license · 0 weekly downloads

## Install

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

## 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.7 |
| Published | 2017-06-19 |
| First published | 2015-12-22 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | paulosimao |

## Links

- npm: https://www.npmjs.com/package/lillog
- Repository: https://github.com/paulosimao/lillog
- Homepage: https://github.com/paulosimao/lillog#readme
- Issues: https://github.com/paulosimao/lillog/issues
- npm.io page: https://npm.io/package/lillog

## Dependencies (1)

- [uuid](https://npm.io/package/uuid.md) ^3.0.1

## Recent versions

- 1.0.7 (latest) — 2017-06-19
- 1.0.6 — 2017-06-19
- 1.0.5 — 2017-06-19
- 1.0.4 — 2017-06-16
- 1.0.3 — 2017-06-14
- 1.0.2 — 2017-06-14
- 1.0.1 — 2015-12-22
- 1.0.0 — 2015-12-22

## README

# lillog
Smallest possible logger available

### Straight to the point:

    var lillog = require('lillog');
    //Std logging
    lillog.log('teste');
    //Error logging
    lillog.error(new Error('I am a fake error'));
    //Debug logging
    lillog.debug('debug');
    //Logs the trace where called to console
    lillog.trace('teste trace');

lillog has a config object, that allows changing logging behavior  without recoding:

    lillog.config = {
        //time format for messages - see momentjs
        timeformat: 'YYYY-MM-DD HH:mm:ss',
        //enable debug msgs
        debugenabled: true,
        //enable log msgs
        logenabled: true,
        //enable error msgs
        errorenabled: true,
        //enable error stack print
        errorprinttrace: true,
        //enable trace
        traceenabled: true
    };

## IMPORTANT:

At the moment everything goes to console (It is  intended that system will handle this properly - pm2 for example will handle logs better than this.)
This is intended to be organize logging from app coding perspective only.

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