ForeverZer0 / SharpNBT

A pure CLS-compliant C# implementation of the Named Binary Tag (NBT) format specification commonly used with Minecraft applications, allowing easy reading/writing streams and serialization to other formats.
MIT License
25 stars 9 forks source link

Option to disable writing to console when disposing Context #28

Closed jowsey closed 6 months ago

jowsey commented 8 months ago

If you're using the recommended Contexts workflow, you end up getting log spam every time a Context is disposed.

I know there's ways to suppress the Console temporarily yourself, but it'd be nice to have the option to disable this within TagBuilder. Thanks for an otherwise solid library 🩷

Log spam ![image](https://github.com/ForeverZer0/SharpNBT/assets/36897817/3d5e034f-f662-47b5-b9a9-f6db4c4dfd50)
ForeverZer0 commented 8 months ago

Ugh, there is an errant Console.WriteLine in there used for quick debugging that somehow didn't get removed...

ForeverZer0 commented 8 months ago

This is technically fixed in the master branch with 190b694, but there might be a delay until it gets pushed out into a NuGet release.