Engine.Profiler.startCollectingToFile()
Signature
void startCollectingToFile(String fileName, int level, long duration)
Description
Turns on the BusinessEvents Profiler and starts collecting data for a specified duration.
Profile data will be output to a file in comma separated value format.
Parameters
Name | Type | Description |
fileName | String | The name of output file that the Profiler writes to. |
level | int | Level of depth that profile data will be collected.
If -1, all level of profile data will be collected;
If 1, only RTC level of profile data will be collected. |
duration | long | Time duration in seconds that the profile data will be collected. |