This is a terrible hack to do color console output and plaintext logging. Please don't be mad.