---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../modules.md) / [cli](../index.md) / WarnFn

# Type Alias: WarnFn()

> **WarnFn** = (`message`) => `void`

Defined in: [packages/b2c-tooling-sdk/src/cli/columns.ts:64](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/5f9b348d598ad92ddf670da42e944b204395bdc8/packages/b2c-tooling-sdk/src/cli/columns.ts#L64)

Function that emits a non-fatal warning. Pass `this.warn.bind(this)` when
calling from a command, or any plain logger callback otherwise.

## Parameters

### message

`string`

## Returns

`void`
