Table of Contents

Class NLogLoggerFactory

Namespace
Loehnert.Lisrt.Messaging
Assembly
Loehnert.Lisrt.dll

Factory class for NLogWrapper.

public class NLogLoggerFactory : ILoggerFactory
Inheritance
NLogLoggerFactory
Implements
Inherited Members

Methods

GetLogger(string)

Creates a new instance of a the NLogWrapper class.

public ILogger GetLogger(string fullyQualifiedClassName)

Parameters

fullyQualifiedClassName string

The logger name. This should normally be the class name.

Returns

ILogger

A new instance of the NLogWrapper class.