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