# logger

a logger for library

## Install

```bash
yarn add @skordyr/logger
```

## Usage

```javascript
import { loggerManager, DebugLogger } from '@skordyr/logger';

const logger = loggerManager.getLogger('library');

DebugLogger.enable('@logger:*');

logger.silly('finer-grained informational events than the `debug`');

logger.debug('fine-grained informational events that are most useful to debug an application');

logger.verbose('fine-grained informational events than the `info`');

logger.info('informational messages that highlight the progress of the application at coarse-grained level');

logger.warn('potentially harmful situations');

logger.error('error events that might still allow the application to continue running');
```
