Deprecated. Don't use for new development and try to migrate existing uses.
Adds an entry to the log.
Use the simpler SoftadminApi.Log_LogError and SoftadminApi.Log_LogDiagnostic procedures whenever possible.