# procyon-logger

> ``` const Logger = require('./index')

Latest version **1.0.7** (published 2021-09-19) · ISC license · 0 weekly downloads

## Install

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

## 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 | 2021-09-19 |
| First published | 2021-06-06 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 2.3 KB |
| Known vulnerabilities | 0 (+23 in 1 direct dependencies) |
| Install scripts | no |
| Author | n34ay |
| Maintainers | n34ay |

## Links

- npm: https://www.npmjs.com/package/procyon-logger
- npm.io page: https://npm.io/package/procyon-logger

## Dependencies (1)

- [axios](https://npm.io/package/axios.md) ^0.21.4

## Recent versions

- 1.0.7 (latest) — 2021-09-19
- 1.0.6 — 2021-09-14
- 1.0.5 — 2021-09-14
- 1.0.4 — 2021-09-11
- 1.0.3 — 2021-09-11
- 1.0.2 — 2021-09-11
- 1.0.1 — 2021-07-01
- 1.0.0 — 2021-06-06

## README

# Procyon Logger 
## This is npm module for quick integration with Procyon logger service. More info here - [Procyon](https://github.com/N34AY/procyon-logger-package)
### Quick start
```
const Logger = require('./index')

const logger = new Logger('f7d6ea6c-878c-4f2d-942c-c381e4ac704a', 'test', true)

async function testSendLog() {
  const response = await logger.sendLog({ author: 'test author', message: 'test msg', type: 'info', data: { error: 'test error' }, send: true })
  console.log(response)
}
testSendLog()


async function testGetLogs() {
  const response = await logger.getLogs({ author: 'test author', type: 'info' })
  console.log(response.docs)
}
testGetLogs()

```

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