SimpleConsoleLogger
SimpleConsoleLogger(String)
SimpleConsoleLogger(String, LogLevel)
LoggerName
MinLogLevel
BeginScope<TState>(TState)
IsEnabled(LogLevel)
Log<TState>(LogLevel, EventId, TState, Exception, Func<TState, Exception, String>)
net10.0
namespace Iot.Device.Common
{
public class SimpleConsoleLogger : ILogger
{
public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception? exception, Func<TState, Exception?, string!>! formatter);
}
}
| .NET | 8.09.010.0 |
|---|---|
Information specific to net10.0 | |
| Assembly | Iot.Device.Bindings , Version=4.0.1.0, PublicKeyToken=31bf3856ad364e35 |
| Referencing | Your project needs a package reference to |
| Package | Iot.Device.Bindings (4.0.1) net8.0 |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API