Skip to content

LogPlugin

Namespace NetWiv.Plugin.Log · Assembly NetWiv.Plugin.Log

public sealed class LogPlugin : IPlugin

Receives records from the official log guest and writes to the app log directory. When the app has a logger factory, records are also written to the NetWiv.Webview logger and the plugin’s direct stdout output is replaced by the configured logging providers.

public LogPlugin(int minimumLevel = 1);
public LogPlugin(int minimumLevel, int maxFileBytes, int retainedFiles = 3);
public string Name { get; }
public void Initialize(PluginContext context);