Made logging a bit simpler and better.