Added Context: word in Tcp and Udp Logger
This commit is contained in:
1 parent
4c7b28f196
commit
ddbf482f6e
2 files changed
+2
No files matched your search
@@ -59,6 +59,7 @@ namespace EonaCat.Logger.EonaCatCoreLogger
|
||||
var contextData = _context.GetAll();
|
||||
if (contextData.Count > 0)
|
||||
{
|
||||
logParts.Add("Context:");
|
||||
foreach (var kvp in contextData)
|
||||
{
|
||||
logParts.Add($"{kvp.Key}: {kvp.Value}");
|
||||
|
||||
@@ -60,6 +60,7 @@ namespace EonaCat.Logger.EonaCatCoreLogger
|
||||
var contextData = _context.GetAll();
|
||||
if (contextData.Count > 0)
|
||||
{
|
||||
logParts.Add("Context:");
|
||||
foreach (var kvp in contextData)
|
||||
{
|
||||
logParts.Add($"{kvp.Key}: {kvp.Value}");
|
||||
|
||||
Reference in new issue
Block a user