Made logger as a constant