MakoIoT.Device.Services.Logging 1.0.65.37774

There is a newer version of this package available.
See the version list below for details.
dotnet add package MakoIoT.Device.Services.Logging --version 1.0.65.37774
                    
NuGet\Install-Package MakoIoT.Device.Services.Logging -Version 1.0.65.37774
                    
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.65.37774" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MakoIoT.Device.Services.Logging" Version="1.0.65.37774" />
                    
Directory.Packages.props
<PackageReference Include="MakoIoT.Device.Services.Logging" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MakoIoT.Device.Services.Logging --version 1.0.65.37774
                    
#r "nuget: MakoIoT.Device.Services.Logging, 1.0.65.37774"
                    
#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.
#:package MakoIoT.Device.Services.Logging@1.0.65.37774
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MakoIoT.Device.Services.Logging&version=1.0.65.37774
                    
Install as a Cake Addin
#tool nuget:?package=MakoIoT.Device.Services.Logging&version=1.0.65.37774
                    
Install as a Cake Tool

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 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.

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.68.22358 150 7/15/2025
1.0.67.25749 218 4/17/2025
1.0.66.9854 195 4/3/2025
1.0.65.37774 185 4/2/2025
1.0.64.57755 177 3/20/2025
1.0.63.47231 203 3/11/2025
1.0.62.39361 208 3/10/2025
1.0.61.4580 133 2/27/2025
1.0.60.36511 138 2/26/2025
1.0.59.49558 133 2/20/2025
1.0.58.895 147 2/18/2025
1.0.57.41554 142 2/17/2025
1.0.56.7306 157 11/28/2024
1.0.55.3432 131 11/27/2024
1.0.54.52390 144 11/26/2024
1.0.53.55578 135 11/26/2024
1.0.51.55985 131 8/5/2024
1.0.50.55638 120 8/5/2024
1.0.49.37501 166 5/17/2024
1.0.48.14493 183 4/8/2024
1.0.47.7543 161 3/22/2024
1.0.46.1854 143 3/21/2024
1.0.45.10740 250 1/6/2024
1.0.44.43576 206 12/30/2023
1.0.43.29525 174 12/29/2023
1.0.42.8435 300 12/2/2023
1.0.41.2517 168 12/1/2023
1.0.40.13349 337 11/17/2023
1.0.39.64362 296 11/12/2023
1.0.38.2444 659 10/6/2023
1.0.37.4736 404 10/4/2023
1.0.35.36503 648 5/29/2023
1.0.34.44899 291 5/29/2023
1.0.33.6768 331 5/24/2023
1.0.32.19421 266 5/24/2023
1.0.30.15431 368 5/22/2023
1.0.29.36296 219 5/22/2023
1.0.27.42906 199 5/22/2023
1.0.26.61981 213 5/22/2023
1.0.25.34931 215 5/22/2023