LogDispatcher.LoggerFactory Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The default logger factory for the whole assembly. If this is null (the default), logging is disabled
C#
public static Microsoft.Extensions.Logging.ILoggerFactory? LoggerFactory { get; set; }
static member LoggerFactory : Microsoft.Extensions.Logging.ILoggerFactory with get, set
Public Property LoggerFactory As ILoggerFactory
Product | Versions |
---|---|
.NET IoT Libraries | 1.4.0, 1.5.0, 2.0.0, 2.1.0, 2.2.0 |