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)
235
_logger.
LogWarning
(_context.SessionDataCollectionContext, message);
261
Action<string> logWarning = m => _logger.
LogWarning
(_context.SessionDataCollectionContext, m);
335
_logger.
LogWarning
(_context.SessionDataCollectionContext, Resources.Resources.MonitorPostmortemDebuggerInvalidDumpDirectoryPathParameter);
341
_logger.
LogWarning
(_context.SessionDataCollectionContext, Resources.Resources.MonitorPostmortemDebuggerInvalidDumpDirectoryPathParameter);
361
_logger.
LogWarning
(_context.SessionDataCollectionContext, FormatBlameParameterValueIncorrectMessage(attribute, [Constants.TrueConfigurationValue, Constants.FalseConfigurationValue]));
374
_logger.
LogWarning
(_context.SessionDataCollectionContext, FormatBlameParameterValueIncorrectMessage(attribute, Enum.GetNames(typeof(CrashDumpType))));
381
_logger.
LogWarning
(_context.SessionDataCollectionContext, string.Format(CultureInfo.CurrentCulture, Resources.Resources.BlameParameterKeyIncorrect, blameAttribute.Name));
407
_logger.
LogWarning
(_context.SessionDataCollectionContext, string.Format(CultureInfo.CurrentCulture, Resources.Resources.UnexpectedValueForInactivityTimespanValue, attribute.Value));
421
_logger.
LogWarning
(_context.SessionDataCollectionContext, FormatBlameParameterValueIncorrectMessage(attribute, Enum.GetNames(typeof(HangDumpType))));
437
_logger.
LogWarning
(_context.SessionDataCollectionContext, FormatBlameParameterValueIncorrectMessage(attribute, Enum.GetNames(typeof(CrashDumpType))));
444
_logger.
LogWarning
(_context.SessionDataCollectionContext, string.Format(CultureInfo.CurrentCulture, Resources.Resources.BlameParameterKeyIncorrect, blameAttribute.Name));
526
_logger.
LogWarning
(_context.SessionDataCollectionContext, Resources.Resources.NotGeneratingSequenceFile);
547
_logger.
LogWarning
(args.Context, ex.ToString());
555
_logger.
LogWarning
(args.Context, ex.ToString());
567
_logger.
LogWarning
(_context.SessionDataCollectionContext, Resources.Resources.MonitorPostmortemDebuggerInvalidDumpDirectoryPathParameter);
606
_logger.
LogWarning
(args.Context, ex.ToString());
647
Action<string> logWarning = m => _logger.
LogWarning
(_context.SessionDataCollectionContext, m);
653
_logger.
LogWarning
(args.Context, string.Format(CultureInfo.CurrentCulture, Resources.Resources.ProcDumpCouldNotStart, e.Message));
658
_logger.
LogWarning
(args.Context, string.Format(CultureInfo.CurrentCulture, Resources.Resources.ProcDumpCouldNotStart, e.ToString()));
732
_logger.
LogWarning
(_context.SessionDataCollectionContext, $"VSTEST_DUMP_PATH is specified. Dump files will be saved in: {dumpPath}, and won't be added to attachments.");