Only one thread can write to one Logger at a time, also known as synchronization. Anything else is properly wrong. But you can have as many Logger as you have memory.
Taking a lock when the logging call doesn't flush to disk sounds rather expensive.
Only one thread can write to one Logger at a time, also known as synchronization. Anything else is properly wrong. But you can have as many Logger as you have memory.
Taking a lock when the logging call doesn't flush to disk sounds rather expensive.