Exemple #1
0
 private static void SetLogRootHelper(string logRoot, string machineName)
 {
     using (var pin = new PinCollection())
     {
         if (string.IsNullOrEmpty(machineName))
         {
             NativeCommon.FabricSetLogRoot(pin.AddBlittable(logRoot));
         }
         else
         {
             NativeCommon.FabricSetLogRoot2(pin.AddBlittable(logRoot), pin.AddBlittable(machineName));
         }
     }
 }