---
title: Logger Plugin
description: "The logger plugin allows logging message into the node log file. This can be usefull to trace/debug rule processing. Functions | Function | Description | | --- | --- | | info(string msg) | Logs an informational message in the…"
url: "https://2yetis.net/docs/logger-plugin/"
updated: "2024-01-02"
category: Rule Engine
---

# Logger Plugin

The logger plugin allows logging message into the node log file. This can be usefull to trace/debug rule processing.

Functions

| Function | Description |
| --- | --- |
| info(string msg) | Logs an informational message in the nodes log file |
| warn(string msg) | Logs a warning message in the nodes log file |
| error(string msg) | Logs an error message in the nodes log file |
| debug(string msg) | Logs a debug message in the nodes log file |
| Trace(string msg) | Logs a trace message in the nodes log file |
