biojppm / rapidyaml

Rapid YAML - a library to parse and emit YAML, and do it fast.
MIT License
568 stars 97 forks source link

How to not display the internal log like _c4err("parse error"); #449

Closed yuzu-ogura closed 2 months ago

yuzu-ogura commented 3 months ago

Hello, I have a problem that I'd like to unify the log output, so can I close the internal log of ryml?

biojppm commented 3 months ago

That's not an internal log; there are no logs coming from the library (and if there are, that's a bug, and I'd like to hear about it).

That is an error being reported by the default error handler; the default error handler prints the error message and calls abort. If you don't want this behavior, you need to set your own error handler. See in the quickstart for several examples on how to do this.

yuzu-ogura commented 2 months ago

That is an error being reported by the default error handler; the default error handler prints the error message and calls abort. If you don't want this behavior, you need to set your own error handler. See in the quickstart for several examples on how to do this.

Thanks your reply, I got it.