Common.Diagnostics 2.0.0.22

There is a newer version of this package available.
See the version list below for details.
dotnet add package Common.Diagnostics --version 2.0.0.22
NuGet\Install-Package Common.Diagnostics -Version 2.0.0.22
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="Common.Diagnostics" Version="2.0.0.22" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Common.Diagnostics --version 2.0.0.22
#r "nuget: Common.Diagnostics, 2.0.0.22"
#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 Common.Diagnostics as a Cake Addin
#addin nuget:?package=Common.Diagnostics&version=2.0.0.22

// Install Common.Diagnostics as a Cake Tool
#tool nuget:?package=Common.Diagnostics&version=2.0.0.22

INTRODUCTION

Common.Diagnostics is a .Net package that provides readable log with application execution flow to .Net Log providers such as Log4Net, Serilog or Application Insights, Console, EventLog and Debug .Net Log providers.
This makes the application flow fully observable, still without compromises on performance.

Articles:

add telemetry to your methods with the following instruction

	- using var scope = _logger.BeginMethodScope(); // defines a method scope by means of an ILogger instance (class type is taken by the ILogger instance)
	- using var scope = _logger.BeginNamedScope("scopeName"); // defines a named scope within a method scope (eg. to describe loop code sections or async method callbacks).

	- using var innerScope = _logger.BeginMethodScope(new { configuration = configuration .GetLogString()}); // defines a method scope where method parameters are specified 

write information to the listeners with the following instructions

	// log statements within a scope
	- scope.LogTrace("this is a Trace trace");
	- scope.LogDebug("this is a Debug trace");
	- scope.LogInformation("this is a Information trace");
	- scope.LogWarning("this is a Warning trace");
	- scope.LogError("this is a error trace");
	- scope.LogCritical("this is a critical trace");
	- scope.LogException(ex);

or standard ILogger<> methods

	// standard Ilogger statements:
	- _logger.LogTrace("this is a Trace trace");
	- _logger.LogDebug("this is a Debug trace");
	- _logger.LogInformation("this is a Information trace");
	- _logger.LogWarning("this is a Warning trace");
	- _logger.LogError("this is a error trace");
	- _logger.LogCritical("this is a critical trace");
	- _logger.LogException(ex);

Common.Diagnostics component is supported on .Net Framework 4.6.2+ and .Net Core 3.0+. Visit [telemetry][] for more information. [telemetry]: https://github.com/diginsight/telemetry/

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (9)

Showing the top 5 NuGet packages that depend on Common.Diagnostics:

Package Downloads
Common.Diagnostics.Serilog

provides a System.Diagnostics listener that sends Common.Diagnostics telemetry to Serilog

Common.Diagnostics.Log4net

provides a System.Diagnostics listener that sends Common.Diagnostics telemetry to Log4net

Common.Diagnostics.AppInsights

provides a System.Diagnostics listener that sends Common.Diagnostics telemetry to AppInsights

Common.Diagnostics.Win

provides System.Diagnostics listeners that send Common.Diagnostics telemetry to the Windows Event Log and to WPF text controls

Common.SmartCache

Common.SmartCache provides intelligent loading for data providers such as external apis or databases. Age conscious data management is applied to allow automatic cache or data preload. AI assisted algorithms can be used to ensure data preloading, based on application use.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.0.23 69 5/14/2024
2.0.0.22 62 5/14/2024
2.0.0.20 62 5/1/2024
2.0.0.19 74 5/1/2024
2.0.0.14 570 2/23/2024
2.0.0.12 272 2/18/2024
2.0.0.9 309 2/7/2024
1.0.2.121 2,988 12/11/2023
1.0.2.120 459 11/27/2023
1.0.2.119 753 11/12/2023
1.0.2.118 443 11/4/2023
1.0.2.117 456 10/30/2023
1.0.2.116 446 10/29/2023
1.0.2.115 445 10/29/2023
1.0.2.102 458 10/27/2023
1.0.2.101 454 10/27/2023
1.0.2.99 469 10/26/2023
1.0.2.98 430 10/26/2023
1.0.2.97 432 10/26/2023
1.0.2.93 453 10/26/2023
1.0.2.92 458 10/26/2023
1.0.2.90 425 10/26/2023
1.0.2.85 444 10/25/2023
1.0.2.84 407 10/25/2023
1.0.2.83 470 10/25/2023
1.0.2.82 460 10/25/2023
1.0.2.80 471 10/25/2023
1.0.2.74 473 10/24/2023
1.0.2.73 418 10/24/2023
1.0.2.71 453 10/24/2023
1.0.2.70 454 10/24/2023
1.0.2.69 483 10/24/2023
1.0.2.68 448 10/19/2023
1.0.2.66 455 10/18/2023
1.0.2.65 465 10/17/2023
1.0.2.64 486 10/17/2023
1.0.2.63 487 10/17/2023
1.0.2.62 463 10/17/2023
1.0.2.61 453 10/17/2023
1.0.2.60 460 10/17/2023
1.0.2.59 447 10/16/2023
1.0.2.58 435 10/16/2023
1.0.2.57 445 10/16/2023
1.0.2.51 472 10/5/2023
1.0.2.50 398 10/1/2023
1.0.2.49 583 9/3/2023
1.0.2.48 1,153 9/2/2023
1.0.2.47 2,567 8/26/2023
1.0.2.46 614 8/23/2023
1.0.2.45 752 8/20/2023
1.0.2.44 742 8/19/2023
1.0.2.43 490 8/19/2023
1.0.2.42 485 8/19/2023
1.0.2.40 458 8/18/2023
1.0.2.39 1,853 8/16/2023
1.0.2.38 488 8/16/2023
1.0.2.35 476 8/16/2023
1.0.2.23 475 8/16/2023
1.0.2.19 644 8/9/2023
1.0.2.18 600 8/9/2023
1.0.2.17 604 8/8/2023
1.0.2.16 592 8/8/2023
1.0.2.15 585 8/8/2023
1.0.2.14 646 8/8/2023
1.0.2.13 607 8/8/2023
1.0.2.12 590 8/8/2023
1.0.2.11 642 8/8/2023
1.0.2.10 555 8/8/2023
1.0.2.9 614 8/6/2023
1.0.2.8 593 8/6/2023
1.0.2.7 792 7/23/2023
1.0.2.6 600 7/18/2023
1.0.2.5 1,797 7/4/2023
1.0.2.4 771 6/29/2023
1.0.2.3 706 6/29/2023
1.0.2.2 676 6/28/2023
1.0.2.1 761 6/27/2023
1.0.1.234 878 6/24/2023
1.0.1.233 731 6/23/2023
1.0.1.232 760 6/23/2023
1.0.1.231 793 5/9/2023
1.0.1.229 1,011 4/3/2023
1.0.1.228 979 3/27/2023
1.0.1.225 1,092 3/16/2023
1.0.1.224 1,101 3/15/2023
1.0.1.223 1,068 3/15/2023
1.0.1.222 1,117 3/15/2023
1.0.1.221 1,101 3/15/2023
1.0.1.220 1,056 3/15/2023
1.0.1.219 1,030 3/15/2023
1.0.1.212 1,933 10/24/2022
1.0.1.211 1,939 10/21/2022
1.0.1.210 1,860 10/21/2022
1.0.1.209 2,180 10/21/2022
1.0.1.208 1,872 10/21/2022
1.0.1.207 1,875 10/19/2022
1.0.1.204 1,842 10/19/2022
1.0.1.203 1,875 10/19/2022
1.0.1.202 1,960 10/13/2022
1.0.1.198 2,002 10/12/2022
1.0.1.197 1,939 10/12/2022
1.0.1.196 1,969 10/12/2022
1.0.1.190 1,930 10/5/2022
1.0.1.189 1,859 10/5/2022
1.0.1.187 2,172 7/16/2022
1.0.1.186 3,985 5/15/2022
1.0.1.185 1,903 5/15/2022
1.0.1.184 1,908 5/2/2022
1.0.1.183 1,873 4/24/2022
1.0.1.182 2,323 4/8/2022
1.0.1.181 1,922 4/8/2022
1.0.1.180 1,814 4/8/2022
1.0.1.179 2,088 4/8/2022
1.0.1.177 2,101 3/15/2022
1.0.1.176 1,897 3/14/2022
1.0.1.175 1,890 3/14/2022
1.0.1.174 1,991 3/13/2022
1.0.1.173 1,961 3/12/2022
1.0.1.172 1,884 3/12/2022
1.0.1.171 1,922 3/10/2022
1.0.1.170 2,040 3/10/2022
1.0.1.168 1,946 3/9/2022
1.0.1.167 9,908 2/2/2022
1.0.1.166 1,990 2/2/2022
1.0.1.165 1,110 1/9/2022
1.0.1.164 1,180 1/9/2022
1.0.1.163 1,214 1/8/2022
1.0.1.162 1,267 1/5/2022
1.0.1.161 1,188 12/16/2021
1.0.1.158 1,258 12/16/2021
1.0.1.156 1,224 12/16/2021
1.0.1.155 1,259 12/16/2021
1.0.1.153 1,227 12/16/2021
1.0.1.152 1,198 12/16/2021
1.0.1.151 1,204 12/16/2021
1.0.1.149 1,296 12/16/2021
1.0.1.132 1,192 12/15/2021
1.0.1.131 1,193 12/15/2021
1.0.1.130 1,186 12/8/2021
1.0.1.129 1,574 12/6/2021
1.0.1.128 1,492 12/6/2021
1.0.1.127 1,409 12/6/2021
1.0.1.126 1,592 12/6/2021
1.0.1.125 1,210 12/5/2021
1.0.1.124 1,801 12/3/2021
1.0.1.123 1,798 12/1/2021
1.0.1.121 1,218 11/22/2021
1.0.1.120 2,244 11/20/2021
1.0.1.118 1,225 11/19/2021
1.0.1.117 1,265 11/12/2021
1.0.1.116 1,385 11/9/2021
1.0.1.115 1,343 11/8/2021
1.0.1.114 1,378 11/8/2021
1.0.1.113 1,415 11/8/2021
1.0.1.112 1,458 11/8/2021
1.0.1.111 1,456 11/7/2021
1.0.1.110 1,437 11/7/2021
1.0.1.101 2,209 10/12/2021
1.0.1.100 1,510 9/14/2021
1.0.1.99 1,359 8/26/2021
1.0.1.98 1,467 8/16/2021
1.0.1.97 1,509 7/1/2021
1.0.1.96 1,535 6/28/2021
1.0.1.95 1,519 5/23/2021
1.0.1.94 1,464 5/9/2021
1.0.1.93 1,366 5/9/2021
1.0.1.92 1,447 5/9/2021
1.0.1.91 1,452 5/3/2021
1.0.1.90 1,320 5/3/2021
1.0.1.89 1,479 5/2/2021
1.0.1.87 1,444 5/2/2021
1.0.1.86 1,401 4/24/2021
1.0.1.83 1,437 4/8/2021
1.0.1.82 2,749 4/7/2021
1.0.1.81 1,414 4/6/2021
1.0.1.80 1,362 4/5/2021
1.0.1.79 1,444 4/5/2021
1.0.1.78 1,488 4/2/2021
1.0.1.77 1,449 4/1/2021
1.0.1.76 1,460 4/1/2021
1.0.1.75 1,409 4/1/2021
1.0.1.70 1,422 3/27/2021
1.0.1.69 1,528 3/27/2021
1.0.1.68 1,493 3/27/2021
1.0.1.67 1,402 3/27/2021
1.0.1.66 1,518 3/21/2021
1.0.1.65 1,525 3/21/2021
1.0.1.64 1,492 3/21/2021
1.0.1.59 1,456 3/20/2021
1.0.1.58 1,470 3/20/2021
1.0.1.55 1,542 3/10/2021
1.0.1.54 1,529 3/10/2021
1.0.1.53 1,672 3/5/2021
1.0.1.52 1,495 3/5/2021
1.0.1.51 2,497 2/25/2021
1.0.1.50 1,432 2/11/2021
1.0.1.49 1,501 1/30/2021
1.0.1.48 1,510 1/30/2021
1.0.1.47 1,507 12/27/2020
1.0.1.46 1,549 12/27/2020
1.0.1.45 1,561 12/27/2020
1.0.1.44 1,544 12/21/2020
1.0.1.43 1,402 12/20/2020
1.0.1.41 1,513 12/20/2020
1.0.1.40 1,403 12/18/2020
1.0.1.39 1,473 12/17/2020
1.0.1.38 1,387 12/14/2020
1.0.1.37 1,394 12/14/2020
1.0.1.36 1,468 12/13/2020
1.0.1.35 1,418 12/10/2020
1.0.1.34 1,442 12/10/2020
1.0.1.33 1,485 12/10/2020
1.0.1.32 1,477 12/3/2020
1.0.1.30 1,446 12/3/2020
1.0.1.27 1,509 12/3/2020
1.0.1.26 1,582 11/28/2020
1.0.1.24 1,562 11/22/2020
1.0.1.23 1,571 11/22/2020
1.0.1.8 1,592 11/9/2020
1.0.1.7 1,553 10/16/2020
1.0.1.6 1,692 9/12/2020
1.0.1.5 1,605 8/17/2020
1.0.1.4 1,575 8/17/2020
1.0.1.3 1,552 8/4/2020
1.0.1.1 1,630 8/2/2020
1.0.0.401 1,679 8/2/2020
1.0.0.400 1,613 7/20/2020
1.0.0.399 1,522 7/8/2020
1.0.0.398 1,652 6/15/2020
1.0.0.397 1,590 6/15/2020
1.0.0.396 1,624 6/8/2020
1.0.0.395 1,629 6/7/2020
1.0.0.394 1,704 6/3/2020
1.0.0.393 1,695 6/2/2020
1.0.0.392 1,618 6/2/2020
1.0.0.391 1,660 6/2/2020
1.0.0.390 1,621 6/2/2020
1.0.0.389 1,591 6/2/2020
1.0.0.388 1,633 6/2/2020
1.0.0.387 1,652 6/1/2020
1.0.0.386 1,652 6/1/2020
1.0.0.385 1,583 6/1/2020
1.0.0.384 1,649 6/1/2020
1.0.0.383 1,652 6/1/2020
1.0.0.382 1,654 6/1/2020
1.0.0.381 1,654 6/1/2020
1.0.0.380 1,640 6/1/2020
1.0.0.371 1,829 6/1/2020