Refactored Logger to remove hard dependency on ChromePhp. Added better handling on environments.