Skip to main content
Writes event data into the log on the Application Server.

Definition

Parameters

Convert clientTime between long and DateTime in C# as follows:

Why both time parameters are needed

Provide both the clientTime parameter and the LogRecord.time value so that events are timestamped accurately. Two conditions make both values necessary:
  • The WriteToLog call can be deferred.
  • Local time on the client computer and the time on the server can differ. If you know the local time on the client computer when WriteToLog was called, this difference can be corrected.

Returned value

None.