1.1 KiB
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);
+ }
+ }
+ }
}