Printing GetLogs Method

How do I print out the GetLogs method for the Okta api? It returns an ILogEvent, but I haven’t been able to find out how to print it out. This is in C#.