Fix LogUnmatchedProfile formatting

pull/5759/head
Bond_009 4 years ago
parent a19a97ca42
commit 117736aac9

@ -126,14 +126,14 @@ namespace Emby.Dlna
var builder = new StringBuilder(); var builder = new StringBuilder();
builder.AppendLine("No matching device profile found. The default will need to be used."); builder.AppendLine("No matching device profile found. The default will need to be used.");
builder.Append("FriendlyName:").AppendLine(profile.FriendlyName); builder.Append("FriendlyName: ").AppendLine(profile.FriendlyName);
builder.Append("Manufacturer:").AppendLine(profile.Manufacturer); builder.Append("Manufacturer: ").AppendLine(profile.Manufacturer);
builder.Append("ManufacturerUrl:").AppendLine(profile.ManufacturerUrl); builder.Append("ManufacturerUrl: ").AppendLine(profile.ManufacturerUrl);
builder.Append("ModelDescription:").AppendLine(profile.ModelDescription); builder.Append("ModelDescription: ").AppendLine(profile.ModelDescription);
builder.Append("ModelName:").AppendLine(profile.ModelName); builder.Append("ModelName: ").AppendLine(profile.ModelName);
builder.Append("ModelNumber:").AppendLine(profile.ModelNumber); builder.Append("ModelNumber: ").AppendLine(profile.ModelNumber);
builder.Append("ModelUrl:").AppendLine(profile.ModelUrl); builder.Append("ModelUrl: ").AppendLine(profile.ModelUrl);
builder.Append("SerialNumber:").AppendLine(profile.SerialNumber); builder.Append("SerialNumber: ").AppendLine(profile.SerialNumber);
_logger.LogInformation(builder.ToString()); _logger.LogInformation(builder.ToString());
} }

Loading…
Cancel
Save