Class UnityLogSource
Logs entries using Unity specific outputs.
Namespace: BepInEx.Unity.Mono.Logging
Assembly: BepInEx.Unity.Mono.dll
Syntax
public class UnityLogSource : ILogSource, IDisposable
Constructors
Creates a new Unity log source.
Declaration
public UnityLogSource()
Properties
Name of the log source.
Declaration
public string SourceName { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Declaration
public void Dispose()
Events
LogEvent
Event that sends the log message. Call System.EventHandler.Invoke(System.Object,System.EventArgs) to send a log message.
Declaration
public event EventHandler<LogEventArgs> LogEvent
Event Type
Type | Description |
---|---|
System.EventHandler<LogEventArgs> |
Implements
System.IDisposable