Deprecate string format log shorthand.
This commit is contained in:
committed by
abcdefg30
parent
e251126dd4
commit
1c2ce0dcc0
@@ -49,8 +49,8 @@ namespace OpenRA.Network
|
||||
// Only interact with one at a time. Some support both UPnP and NAT-PMP.
|
||||
natDevice = args.Device;
|
||||
|
||||
Log.Write("nat", "Device found: {0}", natDevice.DeviceEndpoint);
|
||||
Log.Write("nat", "Type: {0}", natDevice.NatProtocol);
|
||||
Log.Write("nat", $"Device found: {natDevice.DeviceEndpoint}");
|
||||
Log.Write("nat", $"Type: {natDevice.NatProtocol}");
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user