Show / Hide Table of Contents

Class NLogManager

Log manager for NLog.

Inheritance
System.Object
NLogManager
Implements
ILogManager
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.Logging.NLog
Assembly: Kephas.Logging.NLog.dll
Syntax
public class NLogManager : ILogManager

Methods

| Improve this Doc View Source

CreateLogger(String)

Creates the logger.

Declaration
protected virtual ILogger CreateLogger(string loggerName)
Parameters
Type Name Description
System.String loggerName

Name of the logger.

Returns
Type Description
ILogger

A logger with the provided name.

| Improve this Doc View Source

GetLogger(String)

Gets the logger with the provided name.

Declaration
public ILogger GetLogger(string loggerName)
Parameters
Type Name Description
System.String loggerName

Name of the logger.

Returns
Type Description
ILogger

A logger for the provided name.

Implements

ILogManager

Extension Methods

DynamicObjectExtensions.SetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.GetPropertyValue(Object, String)
DynamicObjectExtensions.TryGetPropertyValue(Object, String, out Object)
DynamicObjectExtensions.GetRuntimeTypeInfo(Object)
DynamicObjectExtensions.ToDynamic(Object)
DynamicObjectExtensions.ToExpando(Object)
BehaviorValue.ToBehaviorValue<TValue>(TValue)
CollectionExtensions.AddRange<T, TItem>(T, IEnumerable<TItem>)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX