logger - Global
-
- UpdatedJan 30, 2025
- 2 minutes to read
- Yokohama
- API reference
The logger API provides inbound email actions that append messages to the email log.
It provides methods that add information, warning, and error messages. The added message has
its source set to email.<Sys ID of incoming email>
.
logger - log(String msg)
Appends the specified message to the email log.
Name | Type | Description |
---|---|---|
msg | String | Text to append to the email log. These should be information type messages. |
Type | Description |
---|---|
void |
Example
This code example queries email from the sys_user table and then calls the appropriate logger method based on the sender information.
logger - logError(String msg)
Appends the specified error message to the email log file.
Name | Type | Description |
---|---|---|
msg | String | Error message to append to the email log |
Type | Description |
---|---|
void |
Example
This code example queries email from the sys_user table and then calls the appropriate logger method based on the sender information.
logger - logWarning(String msg)
Appends the specified warning message to the email log file.
Name | Type | Description |
---|---|---|
msg | String | Warning message to append to the email log |
Type | Description |
---|---|
void |
Example
This code example queries email from the sys_user table and then calls the appropriate logger method based on the sender information.