---
title: ILogger
slug: data-platform/connect-platform/app-sdk-api-reference-interfaces-ilogger
docTags: 
createdAt: 2026-08-05T20:06:37.717Z
---

[OCP App SDK](docId\:gxEU_0AA37IEZJK-uoVcT)

***

[OCP App SDK](docId\:gxEU_0AA37IEZJK-uoVcT) / ILogger

# Interface: ILogger

Defined in: [src/logging/Logger.ts:124](https://github.com/ZaiusInc/app-sdk/blob/8c7209817facb226c91abb960e6d54a7692b9aa2/src/logging/Logger.ts#L124)

OCP Logger interface

## Methods

### debug()

### Call Signature

:::BlockQuote
**debug**(...`args`): `void`
:::

Defined in: [src/logging/Logger.ts:131](https://github.com/ZaiusInc/app-sdk/blob/8c7209817facb226c91abb960e6d54a7692b9aa2/src/logging/Logger.ts#L131)

Write something to the logs at the Debug level

### Parameters

### args

...`any`\[]

One or more values to log.
Objects are formatted using `util.inspect`, other values are converted to a string.
Multiple values are concatenated with a space between

### Returns

`void`

### Call Signature

:::BlockQuote
**debug**(`visibility`, ...`args`): `void`
:::

Defined in: [src/logging/Logger.ts:140](https://github.com/ZaiusInc/app-sdk/blob/8c7209817facb226c91abb960e6d54a7692b9aa2/src/logging/Logger.ts#L140)

Write something to the logs at the Debug level

### Parameters

### visibility

[`` `LogVisibility` ``](docId\:dyS6a4vxYklgw0fCeQt7j)

log visibility level (to override the default visibility)

### args

...`any`\[]

One or more values to log.
Objects are formatted using `util.inspect`, other values are converted to a string.
Multiple values are concatenated with a space between

### Returns

`void`

***

### error()

### Call Signature

:::BlockQuote
**error**(...`args`): `void`
:::

Defined in: [src/logging/Logger.ts:182](https://github.com/ZaiusInc/app-sdk/blob/8c7209817facb226c91abb960e6d54a7692b9aa2/src/logging/Logger.ts#L182)

Write something to the logs at the Error level

### Parameters

### args

...`any`\[]

One or more values to log.
Objects are formatted using `util.inspect`, other values are converted to a string.
Multiple values are concatenated with a space between

### Returns

`void`

### Call Signature

:::BlockQuote
**error**(`visibility`, ...`args`): `void`
:::

Defined in: [src/logging/Logger.ts:191](https://github.com/ZaiusInc/app-sdk/blob/8c7209817facb226c91abb960e6d54a7692b9aa2/src/logging/Logger.ts#L191)

Write something to the logs at the Error level

### Parameters

### visibility

[`` `LogVisibility` ``](docId\:dyS6a4vxYklgw0fCeQt7j)

log visibility level (to override the default visibility)

### args

...`any`\[]

One or more values to log.
Objects are formatted using `util.inspect`, other values are converted to a string.
Multiple values are concatenated with a space between

### Returns

`void`

***

### info()

### Call Signature

:::BlockQuote
**info**(...`args`): `void`
:::

Defined in: [src/logging/Logger.ts:148](https://github.com/ZaiusInc/app-sdk/blob/8c7209817facb226c91abb960e6d54a7692b9aa2/src/logging/Logger.ts#L148)

Write something to the logs at the Info level

### Parameters

### args

...`any`\[]

One or more values to log.
Objects are formatted using `util.inspect`, other vaules are converted to a string.
Multiple values are concatenated with a space between

### Returns

`void`

### Call Signature

:::BlockQuote
**info**(`visibility`, ...`args`): `void`
:::

Defined in: [src/logging/Logger.ts:157](https://github.com/ZaiusInc/app-sdk/blob/8c7209817facb226c91abb960e6d54a7692b9aa2/src/logging/Logger.ts#L157)

Write something to the logs at the Info level

### Parameters

### visibility

[`` `LogVisibility` ``](docId\:dyS6a4vxYklgw0fCeQt7j)

log visibility level (to override the default visibility)

### args

...`any`\[]

One or more values to log.
Objects are formatted using `util.inspect`, other values are converted to a string.
Multiple values are concatenated with a space between

### Returns

`void`

***

### warn()

### Call Signature

:::BlockQuote
**warn**(...`args`): `void`
:::

Defined in: [src/logging/Logger.ts:165](https://github.com/ZaiusInc/app-sdk/blob/8c7209817facb226c91abb960e6d54a7692b9aa2/src/logging/Logger.ts#L165)

Write something to the logs at the Warning level

### Parameters

### args

...`any`\[]

One or more values to log.
Objects are formatted using `util.inspect`, other values are converted to a string.
Multiple values are concatenated with a space between

### Returns

`void`

### Call Signature

:::BlockQuote
**warn**(`visibility`, ...`args`): `void`
:::

Defined in: [src/logging/Logger.ts:174](https://github.com/ZaiusInc/app-sdk/blob/8c7209817facb226c91abb960e6d54a7692b9aa2/src/logging/Logger.ts#L174)

Write something to the logs at the Warning level

### Parameters

### visibility

[`` `LogVisibility` ``](docId\:dyS6a4vxYklgw0fCeQt7j)

log visibility level (to override the default visibility)

### args

...`any`\[]

One or more values to log.
Objects are formatted using `util.inspect`, other values are converted to a string.
Multiple values are concatenated with a space between

### Returns

`void`
