ObjectPrinter 2.0.35

Dumps an object to a string or a text writer. Great for debugging. Awesome for capturing context in production exception dumps.

Use ObjectPrinter.Log4Net for a renderer to automatically dump all logged exceptions using log4net.

Install-Package ObjectPrinter -Version 2.0.35
dotnet add package ObjectPrinter --version 2.0.35
<PackageReference Include="ObjectPrinter" Version="2.0.35" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ObjectPrinter --version 2.0.35
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

v 1.2.5138.19225
- replace locks in MemberCache w/ ConcurrentDictionary.
 increase lookup speed, and decrease code complexity

v 1.2.5137.27952
- added ShouldObscureValue and ObscureValueText: enables obscuring sensitive data.  
 use Funcs.MemberContainsPassword to hide properties containing password, pwd, salt, connstring and connectionstring

v 1.2.0 ~ BREAKING CHANGES
- fixed centralized configs, moving all configs to Configs static class.
- fixed bug in Funcs.IncludtType, where condition needed to be reversed.
- share reflection cache between inspectors for lifetime of appdomain
- add LazyDump extension method, same as Dump, but less likely to conflict with Dump methods from other assemblies.

v 1.1.1
- fixed bug where cached version of exception could be included in the context if ex.DumpToString()
was called and then later the exception was output not using that extension method.
- exception caching is now disabled by default and can be enabled via the config.
the cache will only be saved when dumping to string, but the cache will be reused when dumping to any source.

v 1.1.0 ~ BREAKING CHANGES
- adding TypeInspectorsRegistration to make it easy to add custom inspectors.
- renamed DefaultTypeInspector to CatchAllTypeInspector
- removed InspectorsWithAllTypesInspected and InspectorsWithMsTypesToStringed in favor of TypeInspectorsRegistration

v 1.0.4
- fixed bug where NonSerializableWrapper was being printed.  added smoke tests.
- fixed bug where empty enumerable could print poorly and lose data.  added smoke tests.

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
2.0.35 55,099 5/6/2016
2.0.30 9,583 4/6/2015
2.0.29 1,893 1/24/2015
2.0.28 477 12/28/2014
2.0.27 365 12/28/2014
2.0.26 375 12/27/2014
2.0.20 3,487 6/2/2014
2.0.19 453 5/27/2014
2.0.18 444 5/27/2014
2.0.17 426 5/27/2014
2.0.12 456 5/26/2014
2.0.11 457 5/26/2014
2.0.10 472 5/26/2014
2.0.9 480 5/26/2014
2.0.8 434 5/26/2014
2.0.7 461 5/6/2014
2.0.6 448 5/4/2014
2.0.5 489 5/4/2014
2.0.4 480 5/4/2014
2.0.3 454 5/4/2014
1.2.5140.3134 962 1/27/2014
1.2.5140.3078 408 1/27/2014
1.2.5140.2617 393 1/27/2014
1.2.5138.19224 426 1/25/2014
1.2.5137.27952 405 1/24/2014
1.2.0 483 1/23/2014
1.1.1 1,748 12/30/2012
1.1.0 423 12/28/2012
1.0.4 509 12/28/2012
1.0.3 440 12/28/2012
1.0.2 454 12/28/2012
1.0.1 455 12/1/2012
1.0.0 468 12/1/2012