improvements
This commit is contained in:
parent
a56f96903e
commit
0ee715ed97
|
|
@ -50,8 +50,12 @@ public class AcConsoleLogWriter : AcTextLogWriterBase, IAcConsoleLogWriter
|
|||
Console.ForegroundColor = ConsoleColor.Cyan;
|
||||
Console.WriteLine(logText);
|
||||
break;
|
||||
case LogLevel.Warning:
|
||||
Console.ForegroundColor = ConsoleColor.Yellow;
|
||||
Console.WriteLine(logText);
|
||||
break;
|
||||
default:
|
||||
Console.ForegroundColor = loglevel == LogLevel.Warning ? ConsoleColor.Yellow : ConsoleColor.Red;
|
||||
Console.ForegroundColor = ConsoleColor.Red;
|
||||
Console.WriteLine($"{AcEnv.NL}{logText}{AcEnv.NL}");
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -180,6 +180,8 @@ public abstract class AcWebSignalRHubBase<TSignalRTags, TLogger>(IConfiguration
|
|||
//[Conditional("DEBUG")]
|
||||
private void LogContextUserNameAndId()
|
||||
{
|
||||
return;
|
||||
|
||||
string? userName = null;
|
||||
var userId = Guid.Empty;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue