Added log hooks

It's possible to modify the normal logs slightly, like hiding a
few lines, adding notes to them, or mark bugs.