简体   繁体   中英

I know pantheios is thread-safe but is it interprocess safe?

I know pantheios is thread-safe & I have used it fine but is it interprocess safe ?

Meaning could different module(differnt exes) logging to the same logging file safely at the same time?

If so do I need to set up any special setting for it ?

BTW :I didn't set anything special to pantheiso & it's thread-safe already by default.

Concurrency of sink writes is controlled not by the library but by the back-end that is performing the writes. I doubt most (any?) stock back-ends are interprocess-safe by default - if you want that you could implement your own back-end, but it will likely kill the performance that you chose Pantheios for in the first place.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM