[@iota-pico/core](../README.md) > [ILogger](../interfaces/ilogger.md)

# Interface: ILogger

Represents a class which can provide logging.
*__interface__*: 

## Hierarchy

**ILogger**

## Implemented by

* [ConsoleLogger](../classes/consolelogger.md)
* [NullLogger](../classes/nulllogger.md)

## Index

### Methods

* [banner](ilogger.md#banner)
* [error](ilogger.md#error)
* [info](ilogger.md#info)
* [log](ilogger.md#log)
* [warning](ilogger.md#warning)

---

## Methods

<a id="banner"></a>

###  banner

▸ **banner**(message: *`string`*, ...args: *`any`[]*): `void`

*Defined in [interfaces/ILogger.ts:11](https://github.com/iota-pico/core/tree/master/src/interfaces/ILogger.ts#L11*

Send banner to the logger.

**Parameters:**

| Param | Type | Description |
| ------ | ------ | ------ |
| message | `string` |  The message to log. |
| `Rest` args | `any`[] |  Additional parameters to log. |

**Returns:** `void`

___
<a id="error"></a>

###  error

▸ **error**(message: *`string`*, err?: *`any`*, ...args: *`any`[]*): `void`

*Defined in [interfaces/ILogger.ts:36](https://github.com/iota-pico/core/tree/master/src/interfaces/ILogger.ts#L36*

Send error to the logger.

**Parameters:**

| Param | Type | Description |
| ------ | ------ | ------ |
| message | `string` |  The message to log. |
| `Optional` err | `any` |  An error object to log. |
| `Rest` args | `any`[] |  Additional parameters to log. |

**Returns:** `void`

___
<a id="info"></a>

###  info

▸ **info**(message: *`string`*, ...args: *`any`[]*): `void`

*Defined in [interfaces/ILogger.ts:23](https://github.com/iota-pico/core/tree/master/src/interfaces/ILogger.ts#L23*

Send information to the logger.

**Parameters:**

| Param | Type | Description |
| ------ | ------ | ------ |
| message | `string` |  The message to log. |
| `Rest` args | `any`[] |  Additional parameters to log. |

**Returns:** `void`

___
<a id="log"></a>

###  log

▸ **log**(message: *`string`*, ...args: *`any`[]*): `void`

*Defined in [interfaces/ILogger.ts:17](https://github.com/iota-pico/core/tree/master/src/interfaces/ILogger.ts#L17*

Send log to the logger.

**Parameters:**

| Param | Type | Description |
| ------ | ------ | ------ |
| message | `string` |  The message to log. |
| `Rest` args | `any`[] |  Additional parameters to log. |

**Returns:** `void`

___
<a id="warning"></a>

###  warning

▸ **warning**(message: *`string`*, ...args: *`any`[]*): `void`

*Defined in [interfaces/ILogger.ts:29](https://github.com/iota-pico/core/tree/master/src/interfaces/ILogger.ts#L29*

Send warning to the logger.

**Parameters:**

| Param | Type | Description |
| ------ | ------ | ------ |
| message | `string` |  The message to log. |
| `Rest` args | `any`[] |  Additional parameters to log. |

**Returns:** `void`

___

