1 write to _eventSource
Microsoft.Extensions.Logging.EventSource (1)
13 references to _eventSource
Microsoft.Extensions.Logging.EventSource (13)
EventSourceLogger.cs (13)
69bool formattedMessageEventEnabled = _eventSource.IsEnabled(EventLevel.Critical, LoggingEventSource.Keywords.FormattedMessage);
70bool messageEventEnabled = _eventSource.IsEnabled(EventLevel.Critical, LoggingEventSource.Keywords.Message);
71bool jsonMessageEventEnabled = _eventSource.IsEnabled(EventLevel.Critical, LoggingEventSource.Keywords.JsonMessage);
106_eventSource.FormattedMessage(
124_eventSource.Message(
156_eventSource.MessageJson(
181if (_eventSource.IsEnabled(EventLevel.Critical, LoggingEventSource.Keywords.JsonMessage))
184_eventSource.ActivityJsonStart(id, _factoryID, CategoryName, ToJson(arguments));
185return new ActivityScope(_eventSource, CategoryName, id, _factoryID, true);
188if (_eventSource.IsEnabled(EventLevel.Critical, LoggingEventSource.Keywords.Message) ||
189_eventSource.IsEnabled(EventLevel.Critical, LoggingEventSource.Keywords.FormattedMessage))
192_eventSource.ActivityStart(id, _factoryID, CategoryName, arguments);
193return new ActivityScope(_eventSource, CategoryName, id, _factoryID, false);