private void DoLog(string token) { ProfilerEntry entry; if (_watches.TryGetValue(token, out entry)) { PSDebug.Log(PSDebugCategory.profiler, "PSProfiler.Log: [{0}] {1}", token, entry); } else { PSDebug.LogError("invalid profiler token"); } }