Created a logger