Serverside error logging

Is there a way to log all errors in apollo-server (v3), preferably to STDOUT that the client recieves?
It seems the errors are mostly just sent to the client and it is hard to debug.