1 write to _eventSource
Microsoft.Extensions.Logging.EventSource (1)
13 references to _eventSource
Microsoft.Extensions.Logging.EventSource (13)
EventSourceLogger.cs (13)
70bool formattedMessageEventEnabled = _eventSource.IsEnabled(EventLevel.Critical, LoggingEventSource.Keywords.FormattedMessage);
71bool messageEventEnabled = _eventSource.IsEnabled(EventLevel.Critical, LoggingEventSource.Keywords.Message);
72bool jsonMessageEventEnabled = _eventSource.IsEnabled(EventLevel.Critical, LoggingEventSource.Keywords.JsonMessage);
105_eventSource.FormattedMessage(
123_eventSource.Message(
155_eventSource.MessageJson(
180if (_eventSource.IsEnabled(EventLevel.Critical, LoggingEventSource.Keywords.JsonMessage))
183_eventSource.ActivityJsonStart(id, _factoryID, CategoryName, ToJson(arguments));
184return new ActivityScope(_eventSource, CategoryName, id, _factoryID, true);
187if (_eventSource.IsEnabled(EventLevel.Critical, LoggingEventSource.Keywords.Message) ||
188_eventSource.IsEnabled(EventLevel.Critical, LoggingEventSource.Keywords.FormattedMessage))
191_eventSource.ActivityStart(id, _factoryID, CategoryName, arguments);
192return new ActivityScope(_eventSource, CategoryName, id, _factoryID, false);