Revamped Logging system to make it easier to use