Use correct logger method