Added method to get a default logger for enhancement #306.