dotnet-core/release-notes/3.0/api-diff/Asp.Net/3.0.0_Microsoft.Extensions.Logging.EventSource.md
2019-10-10 13:57:00 -07:00

1.1 KiB

Microsoft.Extensions.Logging.EventSource

 {
     namespace Microsoft.Extensions.Logging {
         public static class EventSourceLoggerFactoryExtensions {
-            public static ILoggerFactory AddEventSourceLogger(this ILoggerFactory factory);

         }
     }
+    namespace Microsoft.Extensions.Logging.EventSource {
+        public class EventSourceLoggerProvider : IDisposable, ILoggerProvider {
+            public EventSourceLoggerProvider(LoggingEventSource eventSource);
+            public ILogger CreateLogger(string categoryName);
+            public void Dispose();
+        }
+        public sealed class LoggingEventSource : EventSource {
+            protected override void OnEventCommand(EventCommandEventArgs command);
+            public static class Keywords {
+                public const EventKeywords FormattedMessage = (EventKeywords)(4);
+                public const EventKeywords JsonMessage = (EventKeywords)(8);
+                public const EventKeywords Message = (EventKeywords)(2);
+                public const EventKeywords Meta = (EventKeywords)(1);
+            }
+        }
+    }
 }