A function that logs a message with the current step, JSON path, and value.
typedef ParseLog = void Function(String step, String currentPath, Object value);