Table of Contents

Class LinuxJournalLoggerProvider

Namespace
VpnHood.Core.Client.Devices.Linux
Assembly
VpnHood.Core.Client.Devices.Linux.dll

Provides the journal as the daemon's console sink, where stdout is the journal (IsConsole): the Linux host offers it in the terminal's place, so each line has one writer whatever the unit says.

public sealed class LinuxJournalLoggerProvider : TextLoggerProvider, ILoggerProvider, IDisposable
Inheritance
LinuxJournalLoggerProvider
Implements
Inherited Members

Constructors

LinuxJournalLoggerProvider(bool)

Provides the journal as the daemon's console sink, where stdout is the journal (IsConsole): the Linux host offers it in the terminal's place, so each line has one writer whatever the unit says.

public LinuxJournalLoggerProvider(bool includeScopes = true)

Parameters

includeScopes bool

true to write each entry's level and scopes. The default is true.