## Description

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

## 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:<br>- **Debug** — logs detailed information for debugging purposes.<br>- **Info** — logs general information about system operations.<br>- **Error** — logs critical errors that need immediate attention. |

## Alternatives

To log messages, you can also use the [API](https://docs.cognigy.com/ai/for-developers/code/api-functions) object in a [Code](https://docs.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.cognigy.com/ai/agents/develop/node-reference/basic/debug-message) Node for more precise testing.
