EventLogLoggerProvider.CreateLogger(String) 方法

定义

创建一个新的 ILogger 实例。

public:
 virtual Microsoft::Extensions::Logging::ILogger ^ CreateLogger(System::String ^ name);
public Microsoft.Extensions.Logging.ILogger CreateLogger (string name);
abstract member CreateLogger : string -> Microsoft.Extensions.Logging.ILogger
override this.CreateLogger : string -> Microsoft.Extensions.Logging.ILogger
Public Function CreateLogger (name As String) As ILogger

参数

name
String

返回

已创建的 ILogger 实例。

实现

适用于