You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
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);+ }+ }+ }
}