Initial Commit ...

This commit is contained in:
2026-11-08 17:57:08 +03:30
commit f7a4a06367
17 changed files with 900 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
using xCommons.Extensions;
using xLoggingService.Models;
using xCommons.Configurations;
namespace xLoggingService.Extensions
{
public static class XLoggingServiceExtensions
{
/// <summary>
/// Enrich LogEntry ...
/// </summary>
/// <param name="source"></param>
/// <param name="configuration"></param>
/// <returns></returns>
public static XLogEntry Enrich(
this XLogEntry source,
XAppConfiguration configuration
)
{
//
if (source.IsNull() || configuration.IsNull())
{
return source;
}
//
source.Application = configuration.Name;
//
return source;
}
}
}