Added new utility function for upcoming logger specification.