Interface IBuildLogger
Interface for monitoring the build process. Several tasks will log details of their progress through this interface. See the Build Logging documentation for more details.
Namespace: UnityEditor.Build.Pipeline.Interfaces
Syntax
public interface IBuildLogger : IContextObject
Methods
AddEntry(LogLevel, String)
Adds details to the active build step
Declaration
void AddEntry(LogLevel level, string msg)
Parameters
Type | Name | Description |
---|---|---|
LogLevel | level | The log level of this entry. |
String | msg | The message to add. |
BeginBuildStep(LogLevel, String, Boolean)
Should be called when beginning a build step.
Declaration
void BeginBuildStep(LogLevel level, string stepName, bool subStepsCanBeThreaded)
Parameters
Type | Name | Description |
---|---|---|
LogLevel | level | The log level of this step. |
String | stepName | A name associated with the step. It is recommended that this name does not include specific context about the step; dynamic context should be added under the step as an entry. |
Boolean | subStepsCanBeThreaded | True if within this build step the IBuildLogger will be used on multiple threads. |
EndBuildStep()
Ends the build step.
Declaration
void EndBuildStep()