I running my yaml validation in one of my projects and I want my build to fail if I get any errors and not on just warnings. validateSchema() returns Errors+Warnings list irrespective of the log levels we have set and there is no way to differentiate between errors and warnings from the list returned. Can we return the list of errors depending on what the log level is set?