|I got fed up of re-writing the same logging library every time I started a new program, so I decided to make it into a proper unit.|
Having a good debug logging system in your programs can be extremely useful in hunting down bugs and finding performance bottlenecks.
Instead of just appending text to a single file, this logging library uses Logging Contexts that can write to multiple files at once.
This can be really useful if you want to separate your error log from your debug log. Logging contexts makes it easy for any events that enter the error log to be automatically also be added to the debug log at the same time.
This library also supports both real-time logging and buffered logging.