NullLoggerFactory NullLoggerFactory Class

Definition

public class NullLoggerFactory : ILoggerFactory
Public Class NullLoggerFactory
    Inherits ILoggerFactory
Inheritance
NullLoggerFactoryNullLoggerFactory

Fields

Instance Instance

public static readonly NullLoggerFactory Instance
Public Shared ReadOnly Instance As NullLoggerFactory

Methods

AddProvider(ILoggerProvider) AddProvider(ILoggerProvider)

public void AddProvider(ILoggerProvider provider)
Public Sub AddProvider(provider As ILoggerProvider)
Parameters
provider
ILoggerProvider ILoggerProvider

CreateLogger(String) CreateLogger(String)

public ILogger CreateLogger(string name)
Public Function CreateLogger(name As String) As ILogger
Parameters
name
String String
Returns
ILogger ILogger

Dispose() Dispose()

public void Dispose()
Public Sub Dispose