NLogLogger(Logger) constructor¶
Defined in
Type: NLogLogger
Namespace: Splat.NLog
Assembly: Splat.NLog.dll
Applies to
net10.0, net9.0, net8.0, net462, net481
public NLogLogger(Logger inner)
Summary: Initializes a new instance of the NLogLogger class.
Parameters
| Name | Type | Description |
|---|---|---|
inner | Logger | The NLog logger instance to wrap. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException | Thrown when the NLog logger is null. |