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