mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
C#: Change string.Format calls to interpolated strings
This commit is contained in:
@@ -20,6 +20,6 @@ namespace Semmle.Util.Logging
|
||||
|
||||
void LogDebug(string text, int? threadId = null) => Log(Severity.Debug, text, threadId);
|
||||
|
||||
void Log(Severity s, string text, params object?[] args) => Log(s, string.Format(text, args));
|
||||
void LogTrace(string text, int? threadId = null) => Log(Severity.Trace, text, threadId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user