# @pebblo/logger

> The logger that we use in the pebblo applications

Latest version **0.0.2** (published 2020-05-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @pebblo/logger
pnpm add @pebblo/logger
yarn add @pebblo/logger
bun add @pebblo/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.0.2 |
| Published | 2020-05-07 |
| First published | 2020-05-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 9.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Kyle |
| Maintainers | pebbloacc |
| Keywords | typescript, logger, colors, console, cli |

## Links

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

## 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.0.2 (latest) — 2020-05-07
- 0.0.1 — 2020-05-07

## README

<h1 align="center">@pebblo/logger</h1>
<p align="center">The logger that is used in the @pebblo applications</p>
<div align="center">
  <img src="https://awau.moe/8APmHio.png" width="100%" />
</div>

## Installation 
```bash
$ npm install @pebblo/logger
```
## How to use?
```ts
import Logger from '@pebblo/logger';

/*
* TITLE (Something like DATABASE, INFO)
* MESSAGE
* DATE BOOLEAN (Set to false if you don't want to see the date timestamp)
* COLORS ['red', 'blue'] 
* The first parameter is what the title color will be
* The second color parameter will be the message color
*/

Logger('ERROR', 'Oh no something went wrong!', true, ['red']);
```

## LICENSE
- Published under the MIT LICENSE.
## Credits
- Date function was made by my [friend](https://github.com/auguwu)

## Colors
```
blue
cyan
red
green
yellow
darkblue
magenta
white
black
brightblack
brightred
brightgreen
brifghtyellow
brightblue
brightmagenta
brightcyan
brightwhite
default
````

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