Sorry for the late response.
1. Client log are events raised by the Client. Those are very few and often we just add some small events for debugging. What is important are the Server events which are connected to the Tasks.
2. Right now we only store about 2000 entries and focus on real time logging. For real time logging you just need to add the log handler.
VB.NET
AddHandler Log.LogAddedStatic, AddressOf AddLog
C#
Log.LogAddedStatic+=new Log.DelegateLogAdded(Log_LogAddedStatic);
Here is some VB.NET code to retrieve the historic values. This code might change soon as we plan to add more history.
Dim lic As New LogInfoClass
Try
lic.LogStart = DirectCast(cboLogDates.SelectedValue, Date)
Catch ex As Exception
LogAPI.Log(LogClass.EventT.Err, "RequestLogs (1), ex: " & ex.Message, String.Empty, String.Empty)
End Try
Try
lic.LogStartId = ConnectionAPI.CurrentServer.Log.FirstServerIdAtClient
Catch ex As Exception
LogAPI.Log(LogClass.EventT.Err, "RequestLogs (2), ex: " & ex.Message, String.Empty, String.Empty)
End Try
Try
ConnectionAPI.CurrentServer.Log.SendLogChunkRequest(lic)
Catch ex As Exception
LogAPI.Log(LogClass.EventT.Err, "RequestLogs (3), ex: " & ex.Message, String.Empty, String.Empty)
End Try
When doing this the result will come in the Log.LogArrayAddedStatic event so you need to add that handler too.
3. This just add file debugging for the API. You are not intersted in getting this kind of data from the API.