Change how logging works. Add some more methods.