Version: 2017.1

Profiler.enableBinaryLog

Switch to Manual
public static bool enableBinaryLog ;

Description

Sets profiler output file in built players.

If binary log is enabled, a file is generated named "<logfile>.data" which holds binary data for the profile This becomes a large file.

See Also: Profiler.enabled, Profiler.logFile.

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void Start() { Profiling.Profiler.logFile = "mylog.log"; Profiling.Profiler.enableBinaryLog = true; Profiling.Profiler.enabled = true; } }