Debug Logging
Server-side scripts can write messages to AM debug logs by using the logger
object.
AM does not log debug messages from scripts by default. You can configure AM to log such messages by setting the debug log level for the amScript
service. For details, see Debug Logging.
The following table lists the logger
methods.
Method | Parameters | Return Type | Description |
---|---|---|---|
| | | Write Error Message to AM debug logs if ERROR level logging is enabled. |
| | | Return |
| | | Write Message to AM debug logs if MESSAGE level logging is enabled. |
| | | Return |
| | | Write Warning Message to AM debug logs if WARNING level logging is enabled. |
| | | Return |