made the log only output info messages to console when in dev mode