开发者

Disable logging with Batik Transcoder?

开发者 https://www.devze.com 2022-12-26 22:56 出处:网络
I\'m using the batik transcoder for svgs, and every time I convert an SVG image, it produces output on开发者_StackOverflow standard out. I\'m assuming it\'s using a logging package of some kind. How d

I'm using the batik transcoder for svgs, and every time I convert an SVG image, it produces output on开发者_StackOverflow standard out. I'm assuming it's using a logging package of some kind. How do I disable this output?


You can set a custom ErrorHandler on your transcoder object by calling setErrorHandler(). The default error handler spews messages like "ERROR: blah blah" to System.err.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号