Simple logging wrapper I made for logging both errors and variables.