using xCommons.Extensions;
using xLoggingService.Models;
using xCommons.Configurations;
namespace xLoggingService.Extensions
{
public static class XLoggingServiceExtensions
{
///
/// Enrich LogEntry ...
///
///
///
///
public static XLogEntry Enrich(
this XLogEntry source,
XAppConfiguration configuration
)
{
//
if (source.IsNull() || configuration.IsNull())
{
return source;
}
//
source.Application = configuration.Name;
//
return source;
}
}
}