콘텐츠로 이동

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);