mirror of
https://github.com/BepInEx/BepInEx.git
synced 2026-10-20 11:39:43 +00:00
21 lines
526 B
C#
21 lines
526 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;
|
|
}
|
|
}
|