logs - to admin email?

logs - to admin email?

hi!

how to send all error logs to admin email?