|
|
|
|
|
by perbu
3877 days ago
|
|
Sort of.
But logging to memory is more or less free in terms of resource costs. You can easily log one million lines per second to memory without your computer getting bogged down. This also removes the rather heisenbergian issue of turning on and off debug logging. In a lot of application turning on debug logging is a surefire way of making sure any race conditions won't occur. It also means that logging (to disk) will not occur in the performance critical bits of the code. The logging will be fully asynchronous as completely different process will be given the task of persisting the logs. |
|