# cm-libs-clogger

> Common logger library

Latest version **1.0.5** (published 2022-05-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install cm-libs-clogger
pnpm add cm-libs-clogger
yarn add cm-libs-clogger
bun add cm-libs-clogger
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2022-05-24 |
| First published | 2022-03-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 12.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Jean Soon |
| Maintainers | paidchain |

## Links

- npm: https://www.npmjs.com/package/cm-libs-clogger
- npm.io page: https://npm.io/package/cm-libs-clogger

## Recent versions

- 1.0.5 (latest) — 2022-05-24
- 1.0.4 — 2022-03-31
- 1.0.3 — 2022-03-18
- 1.0.2 — 2022-03-12
- 1.0.1 — 2022-03-09

## README

# Common Logger Library

## Getting Started

This repository serve as a library for common logger.

## How to setup environment?

1. Clone this repository.

2. Change directory to the repository.

3. Install package dependencies.
    ```
    npm install
    ```

## How to run unit-test?

1. Write test cases in a `*.test.ts` file under the same folder with the actual module file. For example, module file `src/logger.ts`, unit-test file `src/logger.test.ts`.

2. Run unit-test command.

    * To run single module unit-test.
        ```
        npm run test-this src/logger.test.ts
        ```

    * To run all unit-test.
        ```
        npm run test
        ```

## How to debug?

Please use unit-test method for debugging.

1. Set breakpoint on the source code by pressing `F9` key.

2. Run unit-test command with debugging.
    ```
    npm run debug-this src/logger.test.ts
    ```

3. Start debugging by pressing `F5` key.

## How to release version?

Write commit message that contains keyword 
* `run-release` to publish patch version.
* `run-prerelease` to publish prerelease version.

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