Exemple #1
0
 public void Info(string message, [CallerMemberName] string memberName = "",
                  [CallerFilePath] string sourceFilePath = "", [CallerLineNumber] int sourceLineNumber = 0)
 {
     _log.Info(new LogInfo
     {
         Message          = message,
         CallerMemberName = memberName,
         CallerFile       = sourceFilePath,
         CallerLineNumber = sourceLineNumber,
         Association      = LoggerContext.Association,
         AssociatedId     = LoggerContext.AssociatedId
     });
 }