Writing a logging function
Need to parse format characters still but making progress
Going home