1 write to _eventSource
Microsoft.Extensions.Logging.EventSource (1)
13 references to _eventSource
Microsoft.Extensions.Logging.EventSource (13)
EventSourceLogger.cs (13)
62bool formattedMessageEventEnabled = _eventSource.IsEnabled(EventLevel.Critical, LoggingEventSource.Keywords.FormattedMessage);
63bool messageEventEnabled = _eventSource.IsEnabled(EventLevel.Critical, LoggingEventSource.Keywords.Message);
64bool jsonMessageEventEnabled = _eventSource.IsEnabled(EventLevel.Critical, LoggingEventSource.Keywords.JsonMessage);
99_eventSource.FormattedMessage(
117_eventSource.Message(
149_eventSource.MessageJson(
174if (_eventSource.IsEnabled(EventLevel.Critical, LoggingEventSource.Keywords.JsonMessage))
177_eventSource.ActivityJsonStart(id, _factoryID, CategoryName, ToJson(arguments));
178return new ActivityScope(_eventSource, CategoryName, id, _factoryID, true);
181if (_eventSource.IsEnabled(EventLevel.Critical, LoggingEventSource.Keywords.Message) ||
182_eventSource.IsEnabled(EventLevel.Critical, LoggingEventSource.Keywords.FormattedMessage))
185_eventSource.ActivityStart(id, _factoryID, CategoryName, arguments);
186return new ActivityScope(_eventSource, CategoryName, id, _factoryID, false);