mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-02-15 04:34:46 +00:00
fix: some fixes to file paths for the reworked websocket
This commit is contained in:
@@ -12,7 +12,7 @@ namespace PepperDash.Core.Logging
|
||||
{
|
||||
AppName = CrestronEnvironment.DevicePlatform switch
|
||||
{
|
||||
eDevicePlatform.Appliance => $"App {InitialParametersClass.ApplicationNumber}",
|
||||
eDevicePlatform.Appliance => $"APP{InitialParametersClass.ApplicationNumber.ToString().PadLeft(2, '0')}",
|
||||
eDevicePlatform.Server => $"{InitialParametersClass.RoomId}",
|
||||
_ => string.Empty
|
||||
};
|
||||
@@ -22,7 +22,6 @@ namespace PepperDash.Core.Logging
|
||||
public void Enrich(LogEvent logEvent, ILogEventPropertyFactory propertyFactory)
|
||||
{
|
||||
var property = propertyFactory.CreateProperty("App", AppName);
|
||||
|
||||
logEvent.AddOrUpdateProperty(property);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user