packages/Microsoft.Extensions.Logging.Abstractions.2.0.0/lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.xml
(开头部分) 37KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?xml version="1.0"?>
<doc>
<assembly>
<name>Microsoft.Extensions.Logging.Abstractions</name>
</assembly>
<members>
<member name="T:Microsoft.Extensions.Logging.ILogger">
<summary>
Represents a type used to perform logging.
</summary>
<remarks>Aggregates most logging patterns to a single method.</remarks>
</member>
<member name="M:Microsoft.Extensions.Logging.ILogger.Log``1(Microsoft.Extensions.Logging.LogLevel,Microsoft.Extensions.Logging.EventId,``0,System.Exception,System.Func{``0,System.Exception,System.String})">
<summary>
Writes a log entry.
</summary>
<param name="logLevel">Entry will be written on this level.</param>
<param name="eventId">Id of the event.</param>
<param name="state">The entry to be written. Can be also an object.</param>
<param name="exception">The exception related to this entry.</param>
<param name="formatter">Function to create a <c>string</c> message of the <paramref name="state"/> and <paramref name="exception"/>.</param>
</member>
<member name="M:Microsoft.Extensions.Logging.ILogger.IsEnabled(Microsoft.Extensions.Logging.LogLevel)">
<summary>
Checks if the given <paramref name="logLevel"/> is enabled.
</summary>
<param name="logLevel">level to be checked.</param>
<returns><c>true</c> if enabled.</returns>
</member>
<member name="M:Microsoft.Extensions.Logging.ILogger.BeginScope``1(``0)">
<summary>
Begins a logical operation scope.
</summary>
<param name="state">The identifier for the scope.</param>
<returns>An IDisposable that ends the logical operation scope on dispose.</returns>
</member>
<member name="T:Microsoft.Extensions.Logging.ILoggerFactory">
<summary>
Represents a type used to configure the logging system and create instances of <see cref="T:Microsoft.Extensions.Logging.ILogger"/> from
the registered <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider"/>s.
</summary>
</member>
<member name="M:Microsoft.Extensions.Logging.ILoggerFactory.CreateLogger(System.String)">
<summary>
Creates a new <see cref="T:Microsoft.Extensions.Logging.ILogger"/> instance.
</summary>
<param name="categoryName">The category name for messages produced by the logger.</param>
<returns>The <see cref="T:Microsoft.Extensions.Logging.ILogger"/>.</returns>
</member>
<member name="M:Microsoft.Extensions.Logging.ILoggerFactory.AddProvider(Microsoft.Extensions.Logging.ILoggerProvider)">
<summary>
Adds an <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider"/> to the logging system.
</summary>
<param name="provider">The <see cref="T:Microsoft.Extensions.Logging.ILoggerProvider"/>.</param>
</member>
<member name="T:Microsoft.Extensions.Logging.ILogger`1">
<summary>
A generic interface for logging where the category name is derived from the specified
<typeparamref name="TCategoryName"/> type name.
Generally used to enable activation of a named <see cref="T:Microsoft.Extensions.Logging.ILogger"/> from dependency injection.
后面还有 536 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
