Microsoft.Extensions.Logging
Flags to indicate which trace context parts should be included with the logging scopes.
None of the trace context part will be included in the logging.
Span Id will be included in the logging.
Trace Id will be included in the logging.
Parent Id will be included in the logging.
Trace State will be included in the logging.
Trace flags will be included in the logging.
Tags will be included in the logging.
Items of baggage will be included in the logging.
Extension methods for setting up logging services in an .
Adds a log filter to the factory.
The to add the filter to.
The filter to be added.
The so that additional calls can be chained.
Adds a log filter to the factory.
The to add the filter to.
The filter to be added.
The so that additional calls can be chained.
Adds a log filter for the given .
The to add the filter to.
The filter to be added.
The which this filter will be added for.
The so that additional calls can be chained.
Adds a log filter to the factory.
The to add the filter to.
The filter to be added.
The so that additional calls can be chained.
Adds a log filter for the given .
The to add the filter to.
The filter to be added.
The which this filter will be added for.
The so that additional calls can be chained.
Adds a log filter to the factory.
The to add the filter to.
The category to filter.
The level to filter.
The so that additional calls can be chained.
Adds a log filter for the given .
The to add the filter to.
The category to filter.
The level to filter.
The which this filter will be added for.
The so that additional calls can be chained.
Adds a log filter to the factory.
The to add the filter to.
The category to filter.
The filter function to apply.
The so that additional calls can be chained.
Adds a log filter for the given .
The to add the filter to.
The category to filter.
The filter function to apply.
The which this filter will be added for.
The so that additional calls can be chained.
Adds a log filter to the factory.
The to add the filter to.
The filter function to apply.
The so that additional calls can be chained.
Adds a log filter to the factory.
The to add the filter to.
The filter function to apply.
The so that additional calls can be chained.
Adds a log filter for the given .
The to add the filter to.
The filter function to apply.
The which this filter will be added for.
The so that additional calls can be chained.
Adds a log filter to the factory.
The to add the filter to.
The filter function to apply.
The so that additional calls can be chained.
Adds a log filter for the given .
The to add the filter to.
The filter function to apply.
The which this filter will be added for.
The so that additional calls can be chained.
Adds a log filter to the factory.
The to add the filter to.
The category to filter.
The level to filter.
The so that additional calls can be chained.
Adds a log filter for the given .
The to add the filter to.
The category to filter.
The level to filter.
The which this filter will be added for.
The so that additional calls can be chained.
Adds a log filter to the factory.
The to add the filter to.
The category to filter.
The filter function to apply.
The so that additional calls can be chained.
Adds a log filter for the given .
The to add the filter to.
The category to filter.
The filter function to apply.
The which this filter will be added for.
The so that additional calls can be chained.
An interface for configuring logging providers.
Gets the where Logging services are configured.
Produces instances of classes based on the given providers.
Creates a new instance.
Creates a new instance.
The providers to use in producing instances.
Creates a new instance.
The providers to use in producing instances.
The filter options to use.
Creates a new instance.
The providers to use in producing instances.
The filter option to use.
Creates a new instance.
The providers to use in producing instances.
The filter option to use.
The .
Creates a new instance.
The providers to use in producing instances.
The filter option to use.
The .
The .
Creates new instance of configured using provided delegate.
A delegate to configure the .
The that was created.
Creates an with the given .
The category name for messages produced by the logger.
The that was created.
Adds the given provider to those used in creating instances.
The to add.
Check if the factory has been disposed.
True when as been called
The options for a LoggerFactory.
Creates a new instance.
Gets or sets value to indicate which parts of the tracing context information should be included with the logging scopes.
Default implementation of
The options for a LoggerFilter.
Creates a new instance.
Gets or sets value indicating whether logging scopes are being captured. Defaults to true
Gets or sets the minimum level of log messages if none of the rules match.
Gets the collection of used for filtering log messages.
Defines a rule used to filter log messages
Creates a new instance.
The provider name to use in this filter rule.
The category name to use in this filter rule.
The to use in this filter rule.
The filter to apply.
Gets the logger provider type or alias this rule applies to.
Gets the logger category this rule applies to.
Gets the minimum of messages.
Gets the filter delegate that would be applied to messages that passed the .
Extension methods for setting up logging services in an .
Sets a minimum requirement for log messages to be logged.
The to set the minimum level on.
The to set as the minimum.
The so that additional calls can be chained.
Adds the given to the
The to add the to.
The to add to the .
The so that additional calls can be chained.
Removes all s from .
The to remove s from.
The so that additional calls can be chained.
Configure the with the .
The to be configured with
The action used to configure the logger factory
The so that additional calls can be chained.
Defines alias for implementation to be used in filtering rules.
Creates a new instance.
The alias to set.
The alias of the provider.
Scope provider that does nothing.
Returns a cached instance of .
An empty scope without any logic
Extension methods for setting up logging services in an .
Adds logging services to the specified .
The to add services to.
The so that additional calls can be chained.
Adds logging services to the specified .
The to add services to.
The configuration delegate.
The so that additional calls can be chained.
Throws an if is null.
The reference type argument to validate as non-null.
The name of the parameter with which corresponds.
Attribute used to indicate a source generator should create a function for marshalling
arguments instead of relying on the runtime to generate an equivalent marshalling function at run-time.
This attribute is meaningless if the source generator associated with it is not enabled.
The current built-in source generator only supports C# and only supplies an implementation when
applied to static, partial, non-generic methods.
Initializes a new instance of the .
Name of the library containing the import.
Gets the name of the library containing the import.
Gets or sets the name of the entry point to be called.
Gets or sets how to marshal string arguments to the method.
If this field is set to a value other than ,
must not be specified.
Gets or sets the used to control how string arguments to the method are marshalled.
If this field is specified, must not be specified
or must be set to .
Gets or sets whether the callee sets an error (SetLastError on Windows or errno
on other platforms) before returning from the attributed method.
Specifies how strings should be marshalled for generated p/invokes
Indicates the user is suppling a specific marshaller in .
Use the platform-provided UTF-8 marshaller.
Use the platform-provided UTF-16 marshaller.
Indicates that the specified method requires the ability to generate new code at runtime,
for example through .
This allows tools to understand which methods are unsafe to call when compiling ahead of time.
Initializes a new instance of the class
with the specified message.
A message that contains information about the usage of dynamic code.
Gets a message that contains information about the usage of dynamic code.
Gets or sets an optional URL that contains more information about the method,
why it requires dynamic code, and what options a consumer has to deal with it.
Specifies that null is allowed as an input even if the corresponding type disallows it.
Specifies that null is disallowed as an input even if the corresponding type allows it.
Specifies that an output may be null even if the corresponding type disallows it.
Specifies that an output will not be null even if the corresponding type allows it. Specifies that an input argument was not null when the call returns.
Specifies that when a method returns , the parameter may be null even if the corresponding type disallows it.
Initializes the attribute with the specified return value condition.
The return value condition. If the method returns this value, the associated parameter may be null.
Gets the return value condition.
Specifies that when a method returns , the parameter will not be null even if the corresponding type allows it.
Initializes the attribute with the specified return value condition.
The return value condition. If the method returns this value, the associated parameter will not be null.
Gets the return value condition.
Specifies that the output will be non-null if the named parameter is non-null.
Initializes the attribute with the associated parameter name.
The associated parameter name. The output will be non-null if the argument to the parameter specified is non-null.
Gets the associated parameter name.
Applied to a method that will never return under any circumstance.
Specifies that the method will not return if the associated Boolean parameter is passed the specified value.
Initializes the attribute with the specified parameter value.
The condition parameter value. Code after the method will be considered unreachable by diagnostics if the argument to
the associated parameter matches this value.
Gets the condition parameter value.
Specifies that the method or property will ensure that the listed field and property members have not-null values.
Initializes the attribute with a field or property member.
The field or property member that is promised to be not-null.
Initializes the attribute with the list of field and property members.
The list of field and property members that are promised to be not-null.
Gets field or property member names.
Specifies that the method or property will ensure that the listed field and property members have not-null values when returning with the specified return value condition.
Initializes the attribute with the specified return value condition and a field or property member.
The return value condition. If the method returns this value, the associated parameter will not be null.
The field or property member that is promised to be not-null.
Initializes the attribute with the specified return value condition and list of field and property members.
The return value condition. If the method returns this value, the associated parameter will not be null.
The list of field and property members that are promised to be not-null.
Gets the return value condition.
Gets field or property member names.
{0} is invalid ActivityTrackingOptions value.
Only one wildcard character is allowed in category name.