Class NullLogManager
A log manager service which does not log anything.
Inheritance
System.Object
NullLogManager
Implements
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
Assembly: Kephas.Core.dll
Syntax
[OverridePriority(Priority.Lowest)]
public class NullLogManager : ILogManager
Methods
| Improve this Doc View SourceGetLogger(String)
Gets a NULL logger for 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. |
GetNullLogger(String)
Gets a NULL logger for the provided name.
Declaration
public static ILogger GetNullLogger(string loggerName)
Parameters
Type | Name | Description |
---|---|---|
System.String | loggerName | Name of the logger. |
Returns
Type | Description |
---|---|
ILogger | A logger for the provided name. |
GetNullLogger(Type)
Gets a NULL logger for the provided type.
Declaration
public static ILogger GetNullLogger(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | The type. |
Returns
Type | Description |
---|---|
ILogger | A logger for the provided type. |