[**Kvaser CanKing GUI Extensions SDK v7.5.1**](../../README.md)

***

[Kvaser CanKing GUI Extensions SDK](../../modules.md) / [ipc](../README.md) / getLogger

# Function: getLogger()

> **getLogger**(`categoryName`): [`ILogger`](../interfaces/ILogger.md)

Creates a new logger that can be used for logging messages to CanKing's log window and log file.

## Parameters

### categoryName

`string`

The category name used by the returned logger, typically the extension name.

## Returns

[`ILogger`](../interfaces/ILogger.md)

A new logger.
