示例#1
0
 private void LogError(ZError error, string context)
 {
     // TODO: this error handling is somewhat too subtle; the client should be able to retrieve it
     if (error != ZError.ETERM)
     {
         Trace.TraceError("error on {0}: {1}", context, error.ToString());
     }
 }