ContentBuildLogger Class (Microsoft.Xna.Framework.Content.Pipeline)
Provides methods for reporting informational messages or warnings from content importers and processors.
Do not use this class to report errors. Instead, report errors by throwing a PipelineException or InvalidContentException.
System.Object
Microsoft.Xna.Framework.Content.Pipeline.ContentBuildLogger
MonoGame.Framework.Content.Pipeline.Builder.PipelineBuildLogger
Microsoft.Xna.Framework.Content.Pipeline.ContentBuildLogger
MonoGame.Framework.Content.Pipeline.Builder.PipelineBuildLogger
Namespace: Microsoft.Xna.Framework.Content.Pipeline
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
- C#
- VB
- F#
public abstract class ContentBuildLogger
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
The ContentBuildLogger type exposes the following members.
Platforms | Name | Description | |
---|---|---|---|
ContentBuildLogger | Initializes a new instance of ContentBuildLogger. |
Platforms | Name | Description | |
---|---|---|---|
IndentString | |||
LoggerRootDirectory | Gets or sets the base reference path used when reporting errors during the content build process. |
Platforms | Name | Description | |
---|---|---|---|
GetCurrentFilename | Gets the filename currently being processed, for use in warning and error messages. | ||
Indent | |||
LogImportantMessage | Outputs a high-priority status message from a content importer or processor. | ||
LogMessage | Outputs a low priority status message from a content importer or processor. | ||
LogWarning | Outputs a warning message from a content importer or processor. | ||
PopFile | Outputs a message indicating that a content asset has completed processing. | ||
PushFile | Outputs a message indicating that a content asset has begun processing. All logger warnings or error exceptions from this time forward to the next PopFile call refer to this file. | ||
Unindent |
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows DirectX Desktop
Linux Desktop