59 references to Log
mscorlib (59)
system\diagnostics\eventing\activitytracker.cs (3)
67if (System.Threading.Tasks.TplEtwProvider.Log.IsEnabled(EventLevel.Informational, System.Threading.Tasks.TplEtwProvider.Keywords.TasksFlowActivityIds)) 81var etwLog = TplEtwProvider.Log; 149var etwLog = TplEtwProvider.Log;
system\diagnostics\eventing\eventsource.cs (4)
554if (System.Threading.Tasks.TplEtwProvider.Log != null) 555System.Threading.Tasks.TplEtwProvider.Log.SetActivityId(activityId); 589if (System.Threading.Tasks.TplEtwProvider.Log != null) 590System.Threading.Tasks.TplEtwProvider.Log.SetActivityId(activityId);
system\runtime\compilerservices\TaskAwaiter.cs (2)
216if ( TplEtwProvider.Log.IsEnabled() || Task.s_asyncDebuggingEnabled) 241var etwLog = TplEtwProvider.Log;
system\runtime\compilerservices\YieldAwaitable.cs (3)
90if (TplEtwProvider.Log.IsEnabled()) 133TplEtwProvider.Log.AwaitTaskContinuationScheduled(TaskScheduler.Current.Id, (currentTask != null) ? currentTask.Id : 0, continuationId); 137var etwLog = TplEtwProvider.Log;
system\threading\Tasks\AsyncCausalityTracer.cs (5)
190TplEtwProvider.Log.TraceOperationBegin(taskId, operationName, (long) relatedContext); 210TplEtwProvider.Log.TraceOperationEnd(taskId, status); 229TplEtwProvider.Log.TraceOperationRelation(taskId, relation); 248TplEtwProvider.Log.TraceSynchronousWorkBegin(taskId, work); 267TplEtwProvider.Log.TraceSynchronousWorkEnd(work);
system\threading\Tasks\Parallel.cs (28)
251if (TplEtwProvider.Log.IsEnabled()) 255TplEtwProvider.Log.ParallelInvokeBegin((callerTask != null ? callerTask.m_taskScheduler.Id : TaskScheduler.Current.Id), (callerTask != null ? callerTask.Id : 0), 406if (TplEtwProvider.Log.IsEnabled()) 408TplEtwProvider.Log.ParallelInvokeEnd((callerTask != null ? callerTask.m_taskScheduler.Id : TaskScheduler.Current.Id), (callerTask != null ? callerTask.Id : 0), 1097if (TplEtwProvider.Log.IsEnabled()) 1101TplEtwProvider.Log.ParallelLoopBegin((callingTask != null ? callingTask.m_taskScheduler.Id : TaskScheduler.Current.Id), (callingTask != null ? callingTask.Id : 0), 1151if (TplEtwProvider.Log.IsEnabled()) 1153TplEtwProvider.Log.ParallelFork((currentWorkerTask != null ? currentWorkerTask.m_taskScheduler.Id : TaskScheduler.Current.Id), (currentWorkerTask != null ? currentWorkerTask.Id : 0), 1254if (TplEtwProvider.Log.IsEnabled()) 1256TplEtwProvider.Log.ParallelJoin((currentWorkerTask != null ? currentWorkerTask.m_taskScheduler.Id : TaskScheduler.Current.Id), (currentWorkerTask != null ? currentWorkerTask.Id : 0), 1310if (TplEtwProvider.Log.IsEnabled()) 1322TplEtwProvider.Log.ParallelLoopEnd((callingTask != null ? callingTask.m_taskScheduler.Id : TaskScheduler.Current.Id), (callingTask != null ? callingTask.Id : 0), 1412if (TplEtwProvider.Log.IsEnabled()) 1416TplEtwProvider.Log.ParallelLoopBegin((callerTask != null ? callerTask.m_taskScheduler.Id : TaskScheduler.Current.Id), (callerTask != null ? callerTask.Id : 0), 1464if (TplEtwProvider.Log.IsEnabled()) 1466TplEtwProvider.Log.ParallelFork((currentWorkerTask != null ? currentWorkerTask.m_taskScheduler.Id : TaskScheduler.Current.Id), (currentWorkerTask != null ? currentWorkerTask.Id : 0), 1567if (TplEtwProvider.Log.IsEnabled()) 1569TplEtwProvider.Log.ParallelJoin((currentWorkerTask != null ? currentWorkerTask.m_taskScheduler.Id : TaskScheduler.Current.Id), (currentWorkerTask != null ? currentWorkerTask.Id : 0), 1623if (TplEtwProvider.Log.IsEnabled()) 1635TplEtwProvider.Log.ParallelLoopEnd((callerTask != null ? callerTask.m_taskScheduler.Id : TaskScheduler.Current.Id), (callerTask != null ? callerTask.Id : 0), 3226if (TplEtwProvider.Log.IsEnabled()) 3230TplEtwProvider.Log.ParallelLoopBegin((callerTask != null ? callerTask.m_taskScheduler.Id : TaskScheduler.Current.Id), (callerTask != null ? callerTask.Id : 0), 3289if (TplEtwProvider.Log.IsEnabled()) 3291TplEtwProvider.Log.ParallelFork((currentWorkerTask != null ? currentWorkerTask.m_taskScheduler.Id : TaskScheduler.Current.Id), (currentWorkerTask != null ? currentWorkerTask.Id : 0), 3452if (TplEtwProvider.Log.IsEnabled()) 3454TplEtwProvider.Log.ParallelJoin((currentWorkerTask != null ? currentWorkerTask.m_taskScheduler.Id : TaskScheduler.Current.Id), (currentWorkerTask != null ? currentWorkerTask.Id : 0), 3534if (TplEtwProvider.Log.IsEnabled()) 3536TplEtwProvider.Log.ParallelLoopEnd((callerTask != null ? callerTask.m_taskScheduler.Id : TaskScheduler.Current.Id), (callerTask != null ? callerTask.Id : 0),
system\threading\Tasks\Task.cs (8)
977var etwLog = TplEtwProvider.Log; 1310TplEtwProvider.Log.NewID(newId); 2778var etwLog = TplEtwProvider.Log; 3227var etwLog = TplEtwProvider.Log; 3598TplEtwProvider.Log.RunningContinuation(Id, continuationObject); 3671TplEtwProvider.Log.RunningContinuationList(Id, i, tc); 3685TplEtwProvider.Log.RunningContinuationList(Id, i, currentContinuation); 4691var etwLog = TplEtwProvider.Log;
system\threading\Tasks\TaskContinuation.cs (6)
424TplEtwProvider etwLog = TplEtwProvider.Log; 442TplEtwProvider etwLog = TplEtwProvider.Log; 618TplEtwProvider etwLog = TplEtwProvider.Log; 666var etwLog = TplEtwProvider.Log; 706if (m_capturedContext == null && !TplEtwProvider.Log.IsEnabled() 829var etwLog = TplEtwProvider.Log;