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

# Log Message

![Log Message Node configuration panel](https://mintcdn.com/cognigy-docs-legacy/sbu8K_1z3Hht9e7i/_assets/ai/develop/node-reference/other/log-message.png?fit=max\&auto=format\&n=sbu8K_1z3Hht9e7i\&q=85\&s=da12311c6e1a5a320c6cfb04ff1653c3)

## Description

This Node writes a message into the [Project Logs](https://docs-classic.cognigy.com/ai/agents/test/logs.md).

## Parameters

| Parameter | Type | Description |
| - | - | - |
| Message | CognigyScript | The message to log. The message should be a string that provides the content of the log entry. For example: `User login attempt successful`. |
| Log Level | Select | The log level to use. The level determines the severity and visibility of the log message. Select one of the following options:<ul><li>**Debug** — logs detailed information for debugging purposes.</li><li>**Info** — logs general information about system operations.</li><li>**Error** — logs critical errors that need immediate attention.</li></ul> |

## Alternatives

To log messages, you can also use the [API](https://docs-classic.cognigy.com/ai/for-developers/code/api-functions.md) object in a [Code](https://docs-classic.cognigy.com/ai/for-developers/code/overview) Node.

If you want to send a debug message to the Interaction Panel, use the [Debug Message](https://docs-classic.cognigy.com/ai/agents/develop/node-reference/basic/debug-message.md) Node for more precise testing.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.