1 write to LoggingHelper
Microsoft.Maui.Controls.Build.Tasks (1)
XamlTask.cs (1)
29 LoggingHelper = new TaskLoggingHelper(this);
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"); 290 LoggingHelper.LogMessage(Low, $"{new string(' ', 8)}failed."); 295 LoggingHelper.LogMessage(Low, $"{new string(' ', 8)}failed."); 296 xamlFilePath = LoggingHelper.GetXamlFilePath(xamlFilePath); 297 LoggingHelper.LogError("XamlC", null, xpe.HelpLink, xamlFilePath, xpe.XmlInfo.LineNumber, xpe.XmlInfo.LinePosition, 0, 0, xpe.UnformattedMessage); 300 LoggingHelper.LogMessage(Low, $"{new string(' ', 8)}done."); 304 LoggingHelper.LogMessage(Low, $"{new string(' ', 6)}Replacing {0}.InitializeComponent ()"); 306 if (!TryCoreCompile(initComp, rootnode, xamlFilePath, LoggingHelper, out e)) 309 LoggingHelper.LogMessage(Low, $"{new string(' ', 8)}failed."); 311 xamlFilePath = LoggingHelper.GetXamlFilePath(xamlFilePath); 313 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); 315 LoggingHelper.LogError("XamlC", null, xpe.HelpLink, xamlFilePath, xpe.XmlInfo.LineNumber, xpe.XmlInfo.LinePosition, 0, 0, xpe.Message); 317 LoggingHelper.LogError("XamlC", null, xe.HelpLink, xamlFilePath, xe.LineNumber, xe.LinePosition, 0, 0, xe.Message); 319 LoggingHelper.LogError("XamlC", null, e.HelpLink, xamlFilePath, 0, 0, 0, 0, e.Message); 320 LoggingHelper.LogMessage(Low, e.StackTrace); 342 LoggingHelper.LogMessage(Low, $"{new string(' ', 6)}Removing UnconditionalSuppressMessageAttribute from InitializeComponent()"); 349 LoggingHelper.LogMessage(Low, $"{new string(' ', 8)}done."); 356 LoggingHelper.LogMessage(Low, $"{new string(' ', 6)}Optimizing IL"); 358 LoggingHelper.LogMessage(Low, $"{new string(' ', 8)}done."); 364 LoggingHelper.LogMessage(Low, $"{new string(' ', 4)}Changing the module MVID"); 366 LoggingHelper.LogMessage(Low, $"{new string(' ', 6)}done."); 371 LoggingHelper.LogMessage(Low, $"{new string(' ', 4)}Removing compiled xaml resources"); 374 LoggingHelper.LogMessage(Low, $"{new string(' ', 6)}Removing {resource.Name}"); 376 LoggingHelper.LogMessage(Low, $"{new string(' ', 8)}done."); 382 LoggingHelper.LogMessage(Low, $"{new string(' ', 0)}ValidateOnly=True. Skipping writing assembly."); 387 LoggingHelper.LogMessage(Low, $"{new string(' ', 0)}No compiled resources. Skipping writing assembly."); 391 LoggingHelper.LogMessage(Low, $"{new string(' ', 0)}Writing the assembly"); 398 LoggingHelper.LogMessage(Low, $"{new string(' ', 2)}done."); 402 LoggingHelper.LogMessage(Low, $"{new string(' ', 2)}failed."); 403 LoggingHelper.LogErrorFromException(e); 405 LoggingHelper.LogMessage(Low, e.StackTrace);