Interface ILogListener

A generic log listener that receives log events and can route them to some output (e.g. file, console, socket).

Inherited Members
System.IDisposable.Dispose()
Namespace: BepInEx.Logging
Assembly: BepInEx.dll
Syntax
public interface ILogListener : IDisposable

Methods

LogEvent(Object, LogEventArgs)

Handle an incoming log event.

Declaration
void LogEvent(object sender, LogEventArgs eventArgs)
Parameters
Type Name Description
System.Object sender

Log source that sent the event. Don't use; instead use Source

LogEventArgs eventArgs

Information about the log message.