Skip to content

BepInEx.Logging

ConsoleLogListenerLogs entries using a console spawned by BepInEx.
DiskLogListenerLogs entries using Unity specific outputs.
HarmonyLogSource
LogEventArgsLog event arguments. Contains info about the log message.
LogLevelExtensionsHelper methods for log level handling.
LoggerHandles pub-sub event marshalling across all log listeners and sources.
ManualLogSourceA generic, multi-purpose log source. Exposes simple API to manually emit logs.
TraceLogSourceA source that routes all logs from the inbuilt .NET Trace API to the BepInEx logging system.
ILogListenerA generic log listener that receives log events and can route them to some output (e.g. file, console, socket).
ILogSourceLog source that can output log messages.
LogLevelThe level, or severity of a log entry.