Skip to content

NLogLogger(Logger) constructor

Defined in

Type: NLogLogger Namespace: Splat.NLog Assembly: Splat.NLog.dll

Applies to

net11.0, net10.0, net47, net471, net472, net48, net481

public NLogLogger(Logger inner)

View source

Summary: Initializes a new instance of the NLogLogger class.

Parameters

NameTypeDescription
innerLoggerThe NLog logger instance to wrap.

Exceptions

TypeCondition
System.ArgumentNullExceptionThrown when the NLog logger is null.