1 write to _eventSource
Microsoft.Extensions.Logging.EventSource (1)
13 references to _eventSource
Microsoft.Extensions.Logging.EventSource (13)
EventSourceLogger.cs (13)
81bool formattedMessageEventEnabled = _eventSource.IsEnabled(EventLevel.Critical, LoggingEventSource.Keywords.FormattedMessage);
82bool messageEventEnabled = _eventSource.IsEnabled(EventLevel.Critical, LoggingEventSource.Keywords.Message);
83bool jsonMessageEventEnabled = _eventSource.IsEnabled(EventLevel.Critical, LoggingEventSource.Keywords.JsonMessage);
116_eventSource.FormattedMessage(
134_eventSource.Message(
166_eventSource.MessageJson(
191if (_eventSource.IsEnabled(EventLevel.Critical, LoggingEventSource.Keywords.JsonMessage))
194_eventSource.ActivityJsonStart(id, _factoryID, CategoryName, ToJson(arguments));
195return new ActivityScope(_eventSource, CategoryName, id, _factoryID, true);
198if (_eventSource.IsEnabled(EventLevel.Critical, LoggingEventSource.Keywords.Message) ||
199_eventSource.IsEnabled(EventLevel.Critical, LoggingEventSource.Keywords.FormattedMessage))
202_eventSource.ActivityStart(id, _factoryID, CategoryName, arguments);
203return new ActivityScope(_eventSource, CategoryName, id, _factoryID, false);