mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
filter trace messages from sample display
This commit is contained in:
@@ -28,6 +28,7 @@ public class MemoryLogger : IVelopackLogger
|
||||
|
||||
public void Log(VelopackLogLevel logLevel, string message, Exception exception)
|
||||
{
|
||||
if (logLevel < VelopackLogLevel.Information) return;
|
||||
lock (_sb) {
|
||||
message = $"{logLevel}: {message}";
|
||||
if (exception != null) message += "\n" + exception.ToString();
|
||||
|
||||
Reference in New Issue
Block a user