Made logger const compatible