ILoggerProvider 接口

定义

表示可创建 ILogger 实例的类型。Represents a type that can create instances of ILogger.

public interface class ILoggerProvider : IDisposable
public interface ILoggerProvider : IDisposable
type ILoggerProvider = interface
    interface IDisposable
Public Interface ILoggerProvider
Implements IDisposable
派生
实现

方法

CreateLogger(String)

创建一个新的 ILogger 实例。Creates a new ILogger instance.

Dispose()

执行与释放或重置非托管资源关联的应用程序定义的任务。Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

(继承自 IDisposable)

适用于