{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Class BuildLog | Scriptable Build Pipeline | 2.0.2
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class BuildLog

    Basic implementation of IBuildLogger. Stores events in memory and can dump them to the trace event format. IBuildLogger

    Inheritance
    object
    BuildLog
    Implements
    IBuildLogger
    IContextObject
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEditor.Build.Pipeline.Utilities
    Assembly: solution.dll
    Syntax
    [Serializable]
    public class BuildLog : IBuildLogger, IContextObject

    Constructors

    Name Description
    BuildLog()

    Creates a new build log object.

    Methods

    Name Description
    AddEntry(LogLevel, string)

    Adds details to the active build step

    AddMetaData(string, string)

    Adds a key value pair to the MetaData list. This can be used to store things like package version numbers.

    BeginBuildStep(LogLevel, string, bool)

    Should be called when beginning a build step.

    EndBuildStep()

    Ends the build step.

    FormatForTraceEventProfiler()

    Converts the captured build log events into the text Trace Event Profiler format

    Extension Methods

    BuildLoggerExternsions.AddEntrySafe(IBuildLogger, LogLevel, string)
    BuildLoggerExternsions.ScopedStep(IBuildLogger, LogLevel, string, bool)
    BuildLoggerExternsions.ScopedStep(IBuildLogger, LogLevel, string, string)
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)