File: IEventLog.cs
Web Access
Project: src\src\libraries\Microsoft.Extensions.Logging.EventLog\src\Microsoft.Extensions.Logging.EventLog.csproj (Microsoft.Extensions.Logging.EventLog)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using System.Diagnostics;
 
namespace Microsoft.Extensions.Logging.EventLog
{
    internal interface IEventLog
    {
        int? DefaultEventId { get; }
 
        int MaxMessageSize { get; }
 
        void WriteEntry(string message, EventLogEntryType type, int eventID, short category);
    }
}