4 ms·
Out of curiosity, is XLog better than the app simply logging everything to STD out, then let the invoker worry about the storage?
by virmundi 10y ago
Out of curiosity, is XLog better than the app simply logging everything to STD out, then let the invoker worry about the storage?
- wjruoxue 10y agoDepends on what the invokers wants. If the invoker only wants to log things to disk and read those logs later, surely he can do it himself. What XLog provides for the invoker under the hood is essentially performance: the invoker can log lots of things and does not need to worry about IO speed, disk space, and log safety. And of course it's cross platform. A detailed performance analysis is here (in Mandarin Chinese): http://mp.weixin.qq.com/s/cnhuEodJGIbdodh0IxNeXQ http://mp.weixin.qq.com/s/cnhuEodJGIbdodh0IxNeXQ