Checking the log that an endpoint produces programatically


I would like to check the endpoint log for information about issues but i could not find a get-psuendpoint -log parameter or anything.

I am assuming it does not exist.

Do i have a way of checking the log that an endpoint produces programatically?

Product: PowerShell Universal
Version: 4.2.11