4 ms·
>I appended (...) traces into (...) memory. (...) An unrelated process would read (...) at opportune time and hand over to the developer. I did something simil
by jffhn 2y ago
>I appended (...) traces into (...) memory. (...) An unrelated process would read (...) at opportune time and hand over to the developer.
I did something similar to debug concurrent treatments in Java, that allows to accumulate log statements in thread-local or instance-local collections and then publish them with possibly just a lazySet():
https://github.com/jeffhain/jolikit/blob/master/src/main/java/net/jolikit/lang/HeisenLogger.java https://github.com/jeffhain/jolikit/blob/master/src/main/jav...