Implement a custom log class to make the log more readable.