mirror of
https://github.com/BepInEx/BepInEx.git
synced 2026-10-21 13:37:52 +00:00
20 lines
446 B
C#
20 lines
446 B
C#
using System;
|
|
|
|
namespace BepInEx.Logging
|
|
{
|
|
/// <summary>
|
|
/// Log source that can output log messages.
|
|
/// </summary>
|
|
public interface ILogSource : IDisposable
|
|
{
|
|
/// <summary>
|
|
/// Name of the log source.
|
|
/// </summary>
|
|
string SourceName { get; }
|
|
|
|
/// <summary>
|
|
/// Event that sends the log message. Call <see cref="EventHandler.Invoke"/> to send a log message.
|
|
/// </summary>
|
|
event EventHandler<LogEventArgs> LogEvent;
|
|
}
|
|
} |