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.

NuGet packages (12)

Showing the top 5 NuGet packages that depend on ObjectPrinter:

Package Downloads
MultiCommandConsole
Framework for creating console apps with multiple commands IoC Registration: register all types where - type.IsAssignableTo<IConsoleCommand>() - type.HasCustomAttribute<ArgSetAttribute>()
MultiCommandConsole.Services
Enables MultiCommandConsole commands to be run as services
SimpleSettings
Makes mapping key/value stores (appSettings, environment variables, NameValueCollections...) to POCs dead simple and highly extensible.
ObjectPrinter-Log4Net-1.2.10
Provides an object renderer to integrate with log4net to dump exceptions (or any/all object types) using the ObjectPrinter. Also provides a log4net type inspector to prevent prevent dumping log4net objects that should be converted to strings.
ObjectPrinter-Log4Net-1.2.11
Provides an object renderer to integrate with log4net to dump exceptions (or any/all object types) using the ObjectPrinter. Also provides a log4net type inspector to prevent prevent dumping log4net objects that should be converted to strings.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.0.35 64,481 5/6/2016
2.0.30 10,469 4/6/2015
2.0.29 2,885 1/24/2015
2.0.28 658 12/28/2014
2.0.27 542 12/28/2014
2.0.26 556 12/27/2014
2.0.20 4,037 6/2/2014
2.0.19 844 5/27/2014
2.0.18 836 5/27/2014
2.0.17 846 5/27/2014
2.0.12 834 5/26/2014
2.0.11 849 5/26/2014
2.0.10 868 5/26/2014
2.0.9 890 5/26/2014
2.0.8 829 5/26/2014
2.0.7 856 5/6/2014
2.0.6 844 5/4/2014
2.0.5 878 5/4/2014
2.0.4 879 5/4/2014
2.0.3 861 5/4/2014
1.2.5140.3134 2,109 1/27/2014
1.2.5140.3078 569 1/27/2014
1.2.5140.2617 576 1/27/2014
1.2.5138.19224 596 1/25/2014
1.2.5137.27952 577 1/24/2014
1.2.0 904 1/23/2014
1.1.1 3,224 12/30/2012
1.1.0 601 12/28/2012
1.0.4 705 12/28/2012
1.0.3 614 12/28/2012
1.0.2 627 12/28/2012
1.0.1 629 12/1/2012
1.0.0 698 12/1/2012