OnActionLog¶
Note: If the SetLevel property in Action.Type.Logger.SetLevel holds a higher severity value, then Level priority is overridden and no message is logged.
OnActionLog Properties¶
| Property | Type | Required |
|---|---|---|
| Level | enum |
No |
| Message | string |
Yes |
Level¶
Define level of the log.
- type:
enum
The value of this property must be one of the known values listed below.
| Value | Description |
|---|---|
Error |
High level log such as information on fatal errors. |
Warn |
Medium level log such as potential issues or non-fatal errors. |
Info |
Low level log such as information of lapsed event. |
Debug |
Very low level log such as tracing information. |
Trace |
To enable logging of traces to the client log file, you must also enable `TracingEnabled` and configure the debug settings via the [BrandedSettings.json](https\://help.sap.com/doc/f53c64b93e5140918d676b927a3cd65b/Cloud/en-US/docs-en/guides/getting-started/mdk/custom-client/branding-custom-client.html#debugging-options) or [SetDebugSettings](../Action/SetDebugSettings.schema.md) action. ``Note``: Traces will be tagged as `DEBUG` in the log file. |
Message¶
Message to be logged.
- type:
string