mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
C#: Remove progress monitor from dependency fetcher, use logger directly
This commit is contained in:
@@ -38,6 +38,14 @@ namespace Semmle.Util.Logging
|
||||
/// Log the given text with the given severity.
|
||||
/// </summary>
|
||||
void Log(Severity s, string text, int? threadId = null);
|
||||
|
||||
void LogError(string text, int? threadId = null) => Log(Severity.Error, text, threadId);
|
||||
|
||||
void LogWarning(string text, int? threadId = null) => Log(Severity.Warning, text, threadId);
|
||||
|
||||
void LogInfo(string text, int? threadId = null) => Log(Severity.Info, text, threadId);
|
||||
|
||||
void LogDebug(string text, int? threadId = null) => Log(Severity.Debug, text, threadId);
|
||||
}
|
||||
|
||||
public static class LoggerExtensions
|
||||
|
||||
Reference in New Issue
Block a user