Fixed wrong logger in convenience function.