How do you do a verbose Build, so that compiler errors appear in the Command Line?

When running Unity from the Command Line (on Windows) to build a standalone player, I’m wondering if there’s a way to see verbose logs.

For example, if there are compile errors in any of my scripts, this will correctly cause the build to fail, but I’d love to see the compiler error message right there in the Command Line where I ran the build script.

Any way to do this?

Thanks!

EDIT:

Similarly, is there a way to return the text (stdout and stderr) from the compile?

-logFile <pathname> is documented in the command line args page of Unity docs.

It says to add -logFile - (note the hyphen at the end) to make the logs appear in the console instead of a file.