> ## Documentation Index
> Fetch the complete documentation index at: https://fastmcp-ts.docs.prefect.io/llms.txt
> Use this file to discover all available pages before exploring further.

# LogHandler

```ts theme={null}
type LogHandler = (message) => void | Promise<void>;
```

Defined in: [client/handlers.ts:10](https://github.com/PrefectHQ/fastmcp-ts/blob/e4b6038f642b529f601463a576229747afebe9a4/src/client/handlers.ts#L10)

## Parameters

### message

[`LogMessage`](/api/client/type-aliases/LogMessage)

## Returns

`void` | `Promise`\<`void`>
