Browse Source

调整错误日志打印

样式分支
fyf 2 years ago
parent
commit
fd1ed9e4a1
4 changed files with 1 additions and 24 deletions
  1. +0
    -5
      BPASmartClient.DRCoffee/CoffeeMachine.cs
  2. +0
    -4
      BPASmartClient.GSIceCream/IceCreamMachine.cs
  3. +0
    -9
      BPASmartClient.KLMCoffee/CoffeeMachine.cs
  4. +1
    -6
      BPASmartClient.SCChip/ICChipMachine.cs

+ 0
- 5
BPASmartClient.DRCoffee/CoffeeMachine.cs View File

@@ -59,7 +59,6 @@ namespace BPASmartClient.DRCoffee
}
catch (Exception ex)
{
MessageLog.GetInstance.Show($"BPASmartClient.DRCoffee 中引发错误,CoffeeMachine 类,描述:[{ex.Message}]");
MessageLog.GetInstance.ShowEx($"BPASmartClient.DRCoffee 中引发错误,CoffeeMachine 类,描述:[{ex.Message}]");
}
}
@@ -77,7 +76,6 @@ namespace BPASmartClient.DRCoffee
}
catch (Exception ex)
{
MessageLog.GetInstance.Show($"BPASmartClient.DRCoffee 中引发错误,CoffeeMachine 类,描述:[{ex.Message}]");
MessageLog.GetInstance.ShowEx($"BPASmartClient.DRCoffee 中引发错误,CoffeeMachine 类,描述:[{ex.Message}]");
}
}
@@ -190,7 +188,6 @@ namespace BPASmartClient.DRCoffee
}
catch (Exception ex)
{
MessageLog.GetInstance.Show($"BPASmartClient.DRCoffee 中引发错误,CoffeeMachine 类,描述:[{ex.Message}]");
MessageLog.GetInstance.ShowEx($"BPASmartClient.DRCoffee 中引发错误,CoffeeMachine 类,描述:[{ex.Message}]");
}
});
@@ -210,7 +207,6 @@ namespace BPASmartClient.DRCoffee
}
catch (Exception ex)
{
MessageLog.GetInstance.Show($"BPASmartClient.DRCoffee 中引发错误,CoffeeMachine 类,描述:[{ex.Message}]");
MessageLog.GetInstance.ShowEx($"BPASmartClient.DRCoffee 中引发错误,CoffeeMachine 类,描述:[{ex.Message}]");
}
});
@@ -229,7 +225,6 @@ namespace BPASmartClient.DRCoffee
}
catch (Exception ex)
{
MessageLog.GetInstance.Show($"BPASmartClient.DRCoffee 中引发错误,CoffeeMachine 类,描述:[{ex.Message}]");
MessageLog.GetInstance.ShowEx($"BPASmartClient.DRCoffee 中引发错误,CoffeeMachine 类,描述:[{ex.Message}]");
}
});


+ 0
- 4
BPASmartClient.GSIceCream/IceCreamMachine.cs View File

@@ -53,7 +53,6 @@ namespace BPASmartClient.GSIceCream
}
catch (Exception ex)
{
MessageLog.GetInstance.Show($"BPASmartClient.GSIceCream 中引发错误,IceCreamMachine 类,描述:[{ex.Message}]");
MessageLog.GetInstance.ShowEx($"BPASmartClient.GSIceCream 中引发错误,IceCreamMachine 类,描述:[{ex.Message}]");
}
}
@@ -71,7 +70,6 @@ namespace BPASmartClient.GSIceCream
}
catch (Exception ex)
{
MessageLog.GetInstance.Show($"BPASmartClient.GSIceCream 中引发错误,IceCreamMachine 类,描述:[{ex.Message}]");
MessageLog.GetInstance.ShowEx($"BPASmartClient.GSIceCream 中引发错误,IceCreamMachine 类,描述:[{ex.Message}]");
}
}
@@ -263,7 +261,6 @@ namespace BPASmartClient.GSIceCream
}
catch (Exception ex)
{
MessageLog.GetInstance.Show($"BPASmartClient.GSIceCream 中引发错误,IceCreamMachine 类,描述:[{ex.Message}]");
MessageLog.GetInstance.ShowEx($"BPASmartClient.GSIceCream 中引发错误,IceCreamMachine 类,描述:[{ex.Message}]");
}
});
@@ -329,7 +326,6 @@ namespace BPASmartClient.GSIceCream
}
catch (Exception ex)
{
MessageLog.GetInstance.Show($"BPASmartClient.GSIceCream 中引发错误,IceCreamMachine 类,描述:[{ex.Message}]");
MessageLog.GetInstance.ShowEx($"BPASmartClient.GSIceCream 中引发错误,IceCreamMachine 类,描述:[{ex.Message}]");
}
});


+ 0
- 9
BPASmartClient.KLMCoffee/CoffeeMachine.cs View File

@@ -59,7 +59,6 @@ namespace BPASmartClient.KLMCoffee
}
catch (Exception ex)
{
MessageLog.GetInstance.Show($"BPASmartClient.KLMCoffee 中引发错误,CoffeeMachine 类,描述:[{ex.Message}]");
MessageLog.GetInstance.ShowEx($"BPASmartClient.KLMCoffee 中引发错误,CoffeeMachine 类,描述:[{ex.Message}]");
}
}
@@ -77,7 +76,6 @@ namespace BPASmartClient.KLMCoffee
}
catch (Exception ex)
{
MessageLog.GetInstance.Show($"BPASmartClient.KLMCoffee 中引发错误,CoffeeMachine 类,描述:[{ex.Message}]");
MessageLog.GetInstance.ShowEx($"BPASmartClient.KLMCoffee 中引发错误,CoffeeMachine 类,描述:[{ex.Message}]");
}
}
@@ -156,7 +154,6 @@ namespace BPASmartClient.KLMCoffee
}
catch (Exception ex)
{
MessageLog.GetInstance.Show($"BPASmartClient.KLMCoffee 中引发错误,CoffeeMachine 类,描述:[{ex.Message}]");
MessageLog.GetInstance.ShowEx($"BPASmartClient.KLMCoffee 中引发错误,CoffeeMachine 类,描述:[{ex.Message}]");
}
}
@@ -191,7 +188,6 @@ namespace BPASmartClient.KLMCoffee
}
catch (Exception ex)
{
MessageLog.GetInstance.Show($"BPASmartClient.KLMCoffee 中引发错误,CoffeeMachine 类,描述:[{ex.Message}]");
MessageLog.GetInstance.ShowEx($"BPASmartClient.KLMCoffee 中引发错误,CoffeeMachine 类,描述:[{ex.Message}]");
}
});
@@ -210,7 +206,6 @@ namespace BPASmartClient.KLMCoffee
}
catch (Exception ex)
{
MessageLog.GetInstance.Show($"BPASmartClient.KLMCoffee 中引发错误,CoffeeMachine 类,描述:[{ex.Message}]");
MessageLog.GetInstance.ShowEx($"BPASmartClient.KLMCoffee 中引发错误,CoffeeMachine 类,描述:[{ex.Message}]");
}
});
@@ -229,7 +224,6 @@ namespace BPASmartClient.KLMCoffee
}
catch (Exception ex)
{
MessageLog.GetInstance.Show($"BPASmartClient.KLMCoffee 中引发错误,CoffeeMachine 类,描述:[{ex.Message}]");
MessageLog.GetInstance.ShowEx($"BPASmartClient.KLMCoffee 中引发错误,CoffeeMachine 类,描述:[{ex.Message}]");
}
});
@@ -248,7 +242,6 @@ namespace BPASmartClient.KLMCoffee
}
catch (Exception ex)
{
MessageLog.GetInstance.Show($"BPASmartClient.KLMCoffee 中引发错误,CoffeeMachine 类,描述:[{ex.Message}]");
MessageLog.GetInstance.ShowEx($"BPASmartClient.KLMCoffee 中引发错误,CoffeeMachine 类,描述:[{ex.Message}]");
}
});
@@ -268,7 +261,6 @@ namespace BPASmartClient.KLMCoffee
}
catch (Exception ex)
{
MessageLog.GetInstance.Show($"BPASmartClient.KLMCoffee 中引发错误,CoffeeMachine 类,描述:[{ex.Message}]");
MessageLog.GetInstance.ShowEx($"BPASmartClient.KLMCoffee 中引发错误,CoffeeMachine 类,描述:[{ex.Message}]");
}
});
@@ -288,7 +280,6 @@ namespace BPASmartClient.KLMCoffee
}
catch (Exception ex)
{
MessageLog.GetInstance.Show($"BPASmartClient.KLMCoffee 中引发错误,CoffeeMachine 类,描述:[{ex.Message}]");
MessageLog.GetInstance.ShowEx($"BPASmartClient.KLMCoffee 中引发错误,CoffeeMachine 类,描述:[{ex.Message}]");
}
});


+ 1
- 6
BPASmartClient.SCChip/ICChipMachine.cs View File

@@ -51,7 +51,6 @@ namespace BPASmartClient.SCChip
}
catch (Exception ex)
{
MessageLog.GetInstance.Show($"BPASmartClient.SCChip 中引发错误,ICChipMachine 类,描述:[{ex.Message}]");
MessageLog.GetInstance.ShowEx($"BPASmartClient.SCChip 中引发错误,ICChipMachine 类,描述:[{ex.Message}]");
}

@@ -69,7 +68,6 @@ namespace BPASmartClient.SCChip
}
catch (Exception ex)
{
MessageLog.GetInstance.Show($"BPASmartClient.SCChip 中引发错误,ICChipMachine 类,描述:[{ex.Message}]");
MessageLog.GetInstance.ShowEx($"BPASmartClient.SCChip 中引发错误,ICChipMachine 类,描述:[{ex.Message}]");
}
}
@@ -269,7 +267,7 @@ namespace BPASmartClient.SCChip
}
catch (Exception ex)
{
MessageLog.GetInstance.Show($"BPASmartClient.SCChip 中引发错误,ICChipMachine 类,描述:[{ex.Message}]");
MessageLog.GetInstance.ShowEx($"BPASmartClient.SCChip 中引发错误,ICChipMachine 类,描述:[{ex.Message}]");
}
});

@@ -346,7 +344,6 @@ namespace BPASmartClient.SCChip
}
catch (Exception ex)
{
MessageLog.GetInstance.Show($"BPASmartClient.SCChip 中引发错误,ICChipMachine 类,描述:[{ex.Message}]");
MessageLog.GetInstance.ShowEx($"BPASmartClient.SCChip 中引发错误,ICChipMachine 类,描述:[{ex.Message}]");
}
});
@@ -362,7 +359,6 @@ namespace BPASmartClient.SCChip
}
catch (Exception ex)
{
MessageLog.GetInstance.Show($"BPASmartClient.SCChip 中引发错误,ICChipMachine 类,描述:[{ex.Message}]");
MessageLog.GetInstance.ShowEx($"BPASmartClient.SCChip 中引发错误,ICChipMachine 类,描述:[{ex.Message}]");
}
});
@@ -378,7 +374,6 @@ namespace BPASmartClient.SCChip
}
catch (Exception ex)
{
MessageLog.GetInstance.Show($"BPASmartClient.SCChip 中引发错误,ICChipMachine 类,描述:[{ex.Message}]");
MessageLog.GetInstance.ShowEx($"BPASmartClient.SCChip 中引发错误,ICChipMachine 类,描述:[{ex.Message}]");
}
});


Loading…
Cancel
Save