Tracer.Fody
1.3.1
See the version list below for details.
dotnet add package Tracer.Fody --version 1.3.1
NuGet\Install-Package Tracer.Fody -Version 1.3.1
<PackageReference Include="Tracer.Fody" Version="1.3.1"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add Tracer.Fody --version 1.3.1
#r "nuget: Tracer.Fody, 1.3.1"
// Install Tracer.Fody as a Cake Addin #addin nuget:?package=Tracer.Fody&version=1.3.1 // Install Tracer.Fody as a Cake Tool #tool nuget:?package=Tracer.Fody&version=1.3.1
Trace.Fody is an ILWeaver which adds trace enter and leave log entries to methods. Besides it rewrites static log calls to
instance calls adding method information to the call in order to avoid costly stack walks in the logger. This is a general rewriter which can be adapted to different logging frameworks, do not use it directly.
Use one of the existing adapters in your project like Tracer.Log4Net.Fody or build your own.
Learn more about Target Frameworks and .NET Standard.
-
- Fody (>= 1.29.4)
NuGet packages (13)
Showing the top 5 NuGet packages that depend on Tracer.Fody:
Package | Downloads |
---|---|
Tracer.OpenTracing.Fody
Tracer.Fody plugin for instrumenting with OpenTracing |
|
Xels.Bitcoin
Xels Bitcoin FullNode |
|
Xels.Bitcoin.Features.Consensus
Xels Bitcoin Features Consensus |
|
Xels.Bitcoin.Features.MemoryPool
Xels Bitcoin Features MemoryPool |
|
Xels.Bitcoin.Features.RPC
Xels Bitcoin Features RPC |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Tracer.Fody:
Repository | Stars |
---|---|
stratisproject/StratisBitcoinFullNode
Bitcoin full node in C#
|
Version | Downloads | Last updated |
---|---|---|
3.3.1 | 113,018 | 4/19/2020 |
3.3.0 | 6,941 | 3/5/2020 |
3.2.2 | 8,524 | 1/6/2020 |
3.2.1 | 1,881 | 12/7/2019 |
3.2.0 | 11,412 | 10/14/2019 |
3.1.0 | 26,017 | 5/27/2019 |
3.0.0 | 4,468 | 3/19/2019 |
3.0.0-beta3 | 2,059 | 3/1/2019 |
3.0.0-beta2 | 1,462 | 2/21/2019 |
3.0.0-beta | 1,855 | 2/18/2019 |
2.2.0 | 63,894 | 5/14/2018 |
2.0.0 | 4,231 | 11/5/2017 |
1.6.0 | 9,326 | 5/18/2017 |
1.5.0 | 16,266 | 4/18/2017 |
1.4.0 | 7,948 | 1/2/2017 |
1.3.1 | 3,123 | 8/24/2016 |
1.3.0 | 9,193 | 7/17/2016 |
1.2.4 | 3,136 | 4/14/2016 |
1.2.3 | 3,031 | 3/21/2016 |
1.2.2 | 2,968 | 3/19/2016 |
1.2.0 | 5,327 | 10/13/2015 |
1.1.1 | 2,788 | 8/19/2015 |
1.1.0 | 3,225 | 6/7/2015 |
1.0.0 | 2,910 | 5/17/2015 |
* 1.0.0
Initial release
* 1.1.0
- Trace leave now logs when a method is exited with an exception
- Bug fix on static log rewrites
- Tracer now creates verifiable code
* 1.1.1
- Fixed static log rewrite for constructors and closures/lambdas
* 1.2.0
- In the configuration TraceOn target value extended with 'none' which means no tracing by default
- Changed TraceLeave signature to receive start and end ticks instead of elapsed ticks
* 1.2.2
- Updated to Fody 1.29.4
* 1.2.3
- Added support for strong named custom adapter assemblies
* 1.2.4
- Added option to trace log constructors with traceConstructors flag.
* 1.3.0
- Static log rewrite now supports rewriting static property getters (e.g one can use Log.IsDebug to avoid costly calls)
- Fix: Static constructors are excluded from tracing
- Assembly level xml trace configuration is extended. Multiple TraceOn and NoTrace elements can be specified. Both supports
namespace attribute which defines the scope of the configuration set. See documentation for more details.
- property getter/setter rewriting can be turned off using traceProperties flag in xml configuration
- NoTrace and TraceOn attributes now can be also applied on properties
* 1.3.1
- bug fix: on some machines resolving method reference of static log methods did not work properly