1 override of LogWarning
Microsoft.VisualStudio.TestPlatform.Common (1)
DataCollection\TestPlatformDataCollectionLogger.cs (1)
95
public override void
LogWarning
(DataCollectionContext context, string text)
20 references to LogWarning
Microsoft.TestPlatform.Extensions.BlameDataCollector (20)
BlameCollector.cs (20)
236
_logger.
LogWarning
(_context.SessionDataCollectionContext, message);
266
Action<string> logWarning = m => _logger.
LogWarning
(_context.SessionDataCollectionContext, m);
340
_logger.
LogWarning
(_context.SessionDataCollectionContext, Resources.Resources.MonitorPostmortemDebuggerInvalidDumpDirectoryPathParameter);
346
_logger.
LogWarning
(_context.SessionDataCollectionContext, Resources.Resources.MonitorPostmortemDebuggerInvalidDumpDirectoryPathParameter);
366
_logger.
LogWarning
(_context.SessionDataCollectionContext, FormatBlameParameterValueIncorrectMessage(attribute, [Constants.TrueConfigurationValue, Constants.FalseConfigurationValue]));
379
_logger.
LogWarning
(_context.SessionDataCollectionContext, FormatBlameParameterValueIncorrectMessage(attribute, Enum.GetNames(typeof(CrashDumpType))));
386
_logger.
LogWarning
(_context.SessionDataCollectionContext, string.Format(CultureInfo.CurrentCulture, Resources.Resources.BlameParameterKeyIncorrect, blameAttribute.Name));
412
_logger.
LogWarning
(_context.SessionDataCollectionContext, string.Format(CultureInfo.CurrentCulture, Resources.Resources.UnexpectedValueForInactivityTimespanValue, attribute.Value));
426
_logger.
LogWarning
(_context.SessionDataCollectionContext, FormatBlameParameterValueIncorrectMessage(attribute, Enum.GetNames(typeof(HangDumpType))));
442
_logger.
LogWarning
(_context.SessionDataCollectionContext, FormatBlameParameterValueIncorrectMessage(attribute, Enum.GetNames(typeof(CrashDumpType))));
449
_logger.
LogWarning
(_context.SessionDataCollectionContext, string.Format(CultureInfo.CurrentCulture, Resources.Resources.BlameParameterKeyIncorrect, blameAttribute.Name));
531
_logger.
LogWarning
(_context.SessionDataCollectionContext, Resources.Resources.NotGeneratingSequenceFile);
552
_logger.
LogWarning
(args.Context, ex.ToString());
560
_logger.
LogWarning
(args.Context, ex.ToString());
572
_logger.
LogWarning
(_context.SessionDataCollectionContext, Resources.Resources.MonitorPostmortemDebuggerInvalidDumpDirectoryPathParameter);
611
_logger.
LogWarning
(args.Context, ex.ToString());
652
Action<string> logWarning = m => _logger.
LogWarning
(_context.SessionDataCollectionContext, m);
658
_logger.
LogWarning
(args.Context, string.Format(CultureInfo.CurrentCulture, Resources.Resources.ProcDumpCouldNotStart, e.Message));
663
_logger.
LogWarning
(args.Context, string.Format(CultureInfo.CurrentCulture, Resources.Resources.ProcDumpCouldNotStart, e.ToString()));
740
_logger.
LogWarning
(_context.SessionDataCollectionContext, $"VSTEST_DUMP_PATH is specified. Dump files will be saved in: {dumpPath}, and won't be added to attachments.");