docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface ILogTEP

    Interface for loggers that can produce Trace Event Profiler (TEP) output for viewing in Perfetto.

    Namespace: UnityEditor.Build.Pipeline.Interfaces
    Assembly: Unity.ScriptableBuildPipeline.Editor.dll
    Syntax
    public interface ILogTEP

    Methods

    AddArg(string, string)

    Adds a named key/value arg to the current build step for Perfetto event annotation.

    Declaration
    void AddArg(string key, string value)
    Parameters
    Type Name Description
    string key

    The arg key.

    string value

    The arg value.

    AddMetaData(string, string)

    Adds a named key/value metadata entry to the log, emitted as TEP metadata.

    Declaration
    void AddMetaData(string key, string value)
    Parameters
    Type Name Description
    string key

    The metadata key.

    string value

    The metadata value.

    FormatForTraceEventProfiler()

    Formats the log as a Trace Event Profiler (TEP) JSON document.

    Declaration
    string FormatForTraceEventProfiler()
    Returns
    Type Description
    string

    The log contents in Trace Event Profiler format.

    ImportExternalTEP(string)

    Imports events from an external Trace Event Profiler file into the current build step, so they appear alongside the host events in the formatted output.

    Declaration
    void ImportExternalTEP(string tepFilePath)
    Parameters
    Type Name Description
    string tepFilePath

    The path of the Trace Event Profiler file to import.

    In This Article
    Back to top
    Copyright © 2026 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)