3 ms·
Or, sidestep it by creating an empty log file (if it doesn't exist) during initialization before creating multiple threads.
by pulvinar 3y ago
Or, sidestep it by creating an empty log file (if it doesn't exist) during initialization before creating multiple threads.
- lifeisstillgood 3y agoYeah that's more or less "don't do simple one liners in your application code - write a simple library that does the simple thing, but wraps the simple thing in lots of checks" There probably is a "design pattern" for that but darned if I can draw it in UML