Logging

Report messages to the UiPlayerLog.

We can add entries to the UiPlayerLog.log file when UiPlayer is executing an action.

New entries will are added with the following tag in the log:

<userMessage message="My custom message">

How to use

To add a new entry, use the UiExecutionController.Log method like the following examples:

Unformatted entry

uiExecutionController.Log("Message to be logged.")

Formatted entry

uiExecutionController.Log("Hello {0})", MyClassGet().Name)

Last updated