# Logger

Logger is a help log instance, to print out to console in the dev tools in the browser with prettifying the output depending on the log level

## How to use

```javascript
import { Plugin } from'@root'

const {
    Logger
} = Plugin

Logger.info('This is info log')

```

### Available methods

| name  | output color |
| ----- | ------------ |
| log   | blue         |
| error | red          |
| warn  | yellow       |
| debug | blue         |

Think about Logger as the same console.log/console.warn/console.error, so you can pass arguments to to each method as many as you wish.

{% hint style="info" %}
Logger.debug() will only output if the Dashboard is running in debug mode.
{% endhint %}
