15 references to EventArgsFormatting
Microsoft.Build (13)
BackEnd\Components\Logging\LoggingService.cs (2)
1702EventArgsFormatting.GetLocalizedMessage(warningEvent), 1747EventArgsFormatting.GetLocalizedMessage(warningEvent),
Logging\ParallelLogger\ParallelConsoleLogger.cs (8)
388WriteMessageAligned(EventArgsFormatting.FormatEventMessage(warning, showProjectFile, FindLogOutputProperties(warning)), true); 397WriteMessageAligned(EventArgsFormatting.FormatEventMessage(error, showProjectFile, FindLogOutputProperties(error)), true); 514WriteMessageAligned(" " + EventArgsFormatting.FormatEventMessage(buildErrorEventArgs, showProjectFile, FindLogOutputProperties(errorWarningEvent)), false); 518WriteMessageAligned(" " + EventArgsFormatting.FormatEventMessage(buildWarningEventArgs, showProjectFile, FindLogOutputProperties(errorWarningEvent)), false); 1075WriteMessageAligned(EventArgsFormatting.FormatEventMessage(e, showProjectFile, FindLogOutputProperties(e)), true); 1121WriteMessageAligned(EventArgsFormatting.FormatEventMessage(e, showProjectFile, FindLogOutputProperties(e)), true); 1280nonNullMessage = EventArgsFormatting.FormatEventMessage(e, showProjectFile, FindLogOutputProperties(e), nonNullMessage); 1284nonNullMessage ??= EventArgsFormatting.GetLocalizedMessage(e) ?? string.Empty;
Logging\SimpleErrorLogger.cs (2)
59LogWithColor(EventArgsFormatting.FormatEventMessage(e, showProjectFile: true), 65LogWithColor(EventArgsFormatting.FormatEventMessage(e, showProjectFile: true),
Logging\TerminalLogger\TerminalLogger.cs (1)
1696message: e is AssemblyConflictWarningEventArgs ? EventArgsFormatting.GetLocalizedMessage(e) : message,
Microsoft.Build.Utilities.Core (2)
Logger.cs (2)
48public virtual string FormatErrorEvent(BuildErrorEventArgs args) => EventArgsFormatting.FormatEventMessage(args); 55public virtual string FormatWarningEvent(BuildWarningEventArgs args) => EventArgsFormatting.FormatEventMessage(args);