MakoIoT.Device.Services.Logging
1.0.51.55985
dotnet add package MakoIoT.Device.Services.Logging --version 1.0.51.55985
NuGet\Install-Package MakoIoT.Device.Services.Logging -Version 1.0.51.55985
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MakoIoT.Device.Services.Logging" Version="1.0.51.55985" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MakoIoT.Device.Services.Logging --version 1.0.51.55985
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MakoIoT.Device.Services.Logging, 1.0.51.55985"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install MakoIoT.Device.Services.Logging as a Cake Addin #addin nuget:?package=MakoIoT.Device.Services.Logging&version=1.0.51.55985 // Install MakoIoT.Device.Services.Logging as a Cake Tool #tool nuget:?package=MakoIoT.Device.Services.Logging&version=1.0.51.55985
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Mako-IoT.Device.Services.Logging
Configurable logger implementation based on Microsoft.Extensions.Logging.ILogger interface. Outputs log into console. Filters messages based on configured log level.
Usage
using Microsoft.Extensions.Logging;
public class MyService
{
private readonly ILogger _logger;
public MyService(ILogger logger)
{
_logger = logger;
}
public void DoSomething()
{
try
{
_logger.LogDebug("Starting...");
//
}
catch(Exception ex)
{
_logger.LogError("Error occured", ex);
}
}
}
Register logger in DeviceBuilder
DeviceBuilder.Create()
.AddLogging(new LoggerConfig(LogLevel.Debug))
.Build()
.Start();
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
- MakoIoT.Device.Services.Interface (>= 1.0.47.44904)
- nanoFramework.CoreLibrary (>= 1.15.5)
- nanoFramework.DependencyInjection (>= 1.1.3)
- nanoFramework.System.Collections (>= 1.5.31)
- nanoFramework.System.Text (>= 1.2.54)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on MakoIoT.Device.Services.Logging:
Package | Downloads |
---|---|
MakoIoT.Device.Services.Logging.Storage
Logging to flash storage and logs upload to Elasticsearch for MAKO-IoT |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.51.55985 | 78 | 8/5/2024 |
1.0.50.55638 | 70 | 8/5/2024 |
1.0.49.37501 | 115 | 5/17/2024 |
1.0.48.14493 | 130 | 4/8/2024 |
1.0.47.7543 | 116 | 3/22/2024 |
1.0.46.1854 | 96 | 3/21/2024 |
1.0.45.10740 | 205 | 1/6/2024 |
1.0.44.43576 | 164 | 12/30/2023 |
1.0.43.29525 | 128 | 12/29/2023 |
1.0.42.8435 | 273 | 12/2/2023 |
1.0.41.2517 | 139 | 12/1/2023 |
1.0.40.13349 | 297 | 11/17/2023 |
1.0.39.64362 | 244 | 11/12/2023 |
1.0.38.2444 | 562 | 10/6/2023 |
1.0.37.4736 | 315 | 10/4/2023 |
1.0.35.36503 | 550 | 5/29/2023 |
1.0.34.44899 | 213 | 5/29/2023 |
1.0.33.6768 | 256 | 5/24/2023 |
1.0.32.19421 | 190 | 5/24/2023 |
1.0.30.15431 | 291 | 5/22/2023 |
1.0.29.36296 | 155 | 5/22/2023 |
1.0.27.42906 | 135 | 5/22/2023 |
1.0.26.61981 | 150 | 5/22/2023 |
1.0.25.34931 | 150 | 5/22/2023 |