1 write to LoggingHelper
Microsoft.Maui.Controls.Build.Tasks (1)
59 references to LoggingHelper
Microsoft.Maui.Controls.Build.Tasks (59)
DebugXamlCTask.cs (16)
19 LoggingHelper.LogMessage(Normal, $"{new string(' ', 0)}Preparing debug code for xamlc, assembly: {Assembly}");
27 LoggingHelper.LogMessage(Low, $"{new string(' ', 2)}Adding searchpath {searchpath}");
43 LoggingHelper.LogMessage(Low, $"{new string(' ', 2)}Module: {module.Name}");
46 LoggingHelper.LogMessage(Low, $"{new string(' ', 4)}Resource: {resource.Name}");
49 LoggingHelper.LogMessage(Low, $"{new string(' ', 6)}skipped.");
55 LoggingHelper.LogMessage(Low, $"{new string(' ', 6)}no type found... skipped.");
62 LoggingHelper.LogMessage(Low, $"{new string(' ', 6)}no InitializeComponent found... skipped.");
68 LoggingHelper.LogMessage(Low, $"{new string(' ', 6)}Creating empty {typeDef.Name}.__InitComponentRuntime");
71 LoggingHelper.LogMessage(Low, $"{new string(' ', 8)}done.");
72 LoggingHelper.LogMessage(Low, $"{new string(' ', 6)}Copying body of InitializeComponent to __InitComponentRuntime");
80 LoggingHelper.LogMessage(Low, $"{new string(' ', 8)}done.");
102 LoggingHelper.LogMessage(Low, $"{new string(' ', 6)}Replacing body of {typeDef.Name}.{typeDef.Name} (bool {altCtor.Parameters[0].Name})");
105 LoggingHelper.LogMessage(Low, $"{new string(' ', 6)}Adding {typeDef.Name}.{typeDef.Name} (bool useCompiledXaml)");
150 LoggingHelper.LogMessage(Low, $"{new string(' ', 8)}done.");
154 LoggingHelper.LogMessage(Normal, $"{new string(' ', 0)}Writing the assembly.");
160 LoggingHelper.LogMessage(Normal, $"{new string(' ', 2)}done.");
XamlCTask.cs (43)
159 LoggingHelper.SetContext(WarningLevel, TreatWarningsAsErrors, NoWarn, WarningsAsErrors, WarningsNotAsErrors, GenerateFullPaths ? FullPathPrefix : null);
160 LoggingHelper.LogMessage(Normal, $"{new string(' ', 0)}Compiling Xaml, assembly: {Assembly}");
166 LoggingHelper.LogMessage(Normal, $"{new string(' ', 2)}Assembly file not found. Skipping XamlC.");
172 LoggingHelper.LogMessage(Low, " GenerateFullPaths is enabled but FullPathPrefix is missing or empty.");
185 LoggingHelper.LogMessage(Low, $"{new string(' ', 2)}Adding searchpath {searchpath}");
191 LoggingHelper.LogMessage(Low, $"{new string(' ', 2)}Ignoring dependency and reference paths due to an unsupported resolver");
232 LoggingHelper.LogMessage(Low, $"{new string(' ', 2)}Module: {module.Name}");
236 LoggingHelper.LogMessage(Low, $"{new string(' ', 4)}Resource: {resource.Name}");
240 LoggingHelper.LogMessage(Low, $"{new string(' ', 6)}skipped.");
246 LoggingHelper.LogMessage(Low, $"{new string(' ', 6)}no type found... skipped.");
267 LoggingHelper.LogMessage(Low, $"{new string(' ', 6)}has XamlCompilationAttribute set to Skip and not Compile... skipped.");
274 LoggingHelper.LogMessage(Low, $"{new string(' ', 6)}no InitializeComponent found... skipped.");
284 LoggingHelper.LogMessage(Low, $"{new string(' ', 6)}Parsing Xaml");
291 LoggingHelper.LogMessage(Low, $"{new string(' ', 8)}failed.");
297 LoggingHelper.LogMessage(Low, $"{new string(' ', 8)}failed.");
298 xamlFilePath = LoggingHelper.GetXamlFilePath(xamlFilePath);
299 LoggingHelper.LogError("XamlC", null, xpe.HelpLink, xamlFilePath, xpe.XmlInfo.LineNumber, xpe.XmlInfo.LinePosition, 0, 0, xpe.UnformattedMessage);
302 LoggingHelper.LogMessage(Low, $"{new string(' ', 8)}done.");
306 LoggingHelper.LogMessage(Low, $"{new string(' ', 6)}Replacing {0}.InitializeComponent ()");
308 if (!TryCoreCompile(initComp, rootnode, xamlFilePath, LoggingHelper, out e))
311 LoggingHelper.LogMessage(Low, $"{new string(' ', 8)}failed.");
313 xamlFilePath = LoggingHelper.GetXamlFilePath(xamlFilePath);
315 LoggingHelper.LogError("XamlC", be.Code.Code, be.HelpLink, xamlFilePath, be.XmlInfo?.LineNumber ?? 0, be.XmlInfo?.LinePosition ?? 0, 0, 0, ErrorMessages.ResourceManager.GetString(be.Code.ErrorMessageKey), be.MessageArgs);
317 LoggingHelper.LogError("XamlC", null, xpe.HelpLink, xamlFilePath, xpe.XmlInfo.LineNumber, xpe.XmlInfo.LinePosition, 0, 0, xpe.Message);
319 LoggingHelper.LogError("XamlC", null, xe.HelpLink, xamlFilePath, xe.LineNumber, xe.LinePosition, 0, 0, xe.Message);
321 LoggingHelper.LogError("XamlC", null, e.HelpLink, xamlFilePath, 0, 0, 0, 0, e.Message);
322 LoggingHelper.LogMessage(Low, e.StackTrace);
344 LoggingHelper.LogMessage(Low, $"{new string(' ', 6)}Removing UnconditionalSuppressMessageAttribute from InitializeComponent()");
351 LoggingHelper.LogMessage(Low, $"{new string(' ', 8)}done.");
358 LoggingHelper.LogMessage(Low, $"{new string(' ', 6)}Optimizing IL");
360 LoggingHelper.LogMessage(Low, $"{new string(' ', 8)}done.");
366 LoggingHelper.LogMessage(Low, $"{new string(' ', 4)}Changing the module MVID");
368 LoggingHelper.LogMessage(Low, $"{new string(' ', 6)}done.");
373 LoggingHelper.LogMessage(Low, $"{new string(' ', 4)}Removing compiled xaml resources");
376 LoggingHelper.LogMessage(Low, $"{new string(' ', 6)}Removing {resource.Name}");
378 LoggingHelper.LogMessage(Low, $"{new string(' ', 8)}done.");
384 LoggingHelper.LogMessage(Low, $"{new string(' ', 0)}ValidateOnly=True. Skipping writing assembly.");
389 LoggingHelper.LogMessage(Low, $"{new string(' ', 0)}No compiled resources. Skipping writing assembly.");
393 LoggingHelper.LogMessage(Low, $"{new string(' ', 0)}Writing the assembly");
400 LoggingHelper.LogMessage(Low, $"{new string(' ', 2)}done.");
404 LoggingHelper.LogMessage(Low, $"{new string(' ', 2)}failed.");
405 LoggingHelper.LogErrorFromException(e);
407 LoggingHelper.LogMessage(Low, e.StackTrace);