adds buffer to Toby_Logger

- logs are buffered and written to disk at the end of the script
- Toby_Logger::flushBuffer() can be called on demand