Fixes string interpolation
This commit is contained in:
parent
42d0b6271f
commit
7d3a0ca265
233 changed files with 758 additions and 690 deletions
|
|
@ -89,7 +89,7 @@ namespace Server.RemoteAdmin
|
|||
Commands.CommandLogging.AppendPath( ref path, LogBaseDirectory );
|
||||
Commands.CommandLogging.AppendPath( ref path, LogSubDirectory );
|
||||
Commands.CommandLogging.AppendPath( ref path, accesslevel );
|
||||
path = Path.Combine( path, String.Format( "{0}.log", name ) );
|
||||
path = Path.Combine( path, $"{name}.log");
|
||||
|
||||
using ( StreamWriter sw = new StreamWriter( path, true ) )
|
||||
sw.WriteLine( "{0}: {1}: {2}", DateTime.UtcNow, statestr, text );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue