docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Capture

    Capture(int, float, Func<AsyncRequest<object>, Result>)

    Enable capture log with bufferSize and maxTimeElapsed.

    Declaration
    public static void Capture(int bufferSize = 8192, float maxElapsedSeconds = 5, Func<AsyncRequest<object>, AsyncRequest.Result> functor = null)
    Parameters
    Type Name Description
    int bufferSize

    Maximum buffer size to hold in memory before the data is flushed down to the file system.

    float maxElapsedSeconds

    Maximum time to hold the data in the buffer before it is flushed down to the file system.

    Func<AsyncRequest<object>, AsyncRequest.Result> functor

    Callback to be invoked to consume the log produced.

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