docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CaptureToFile

    CaptureToFile(string, bool, int, float)

    Capture chunked logging to the file at the given path

    Declaration
    public static void CaptureToFile(string path, bool addSequenceNumber = true, int bufferSize = 8192, float maxElapsedSeconds = 5)
    Parameters
    Type Name Description
    string path

    Path to the chunked log file

    bool addSequenceNumber

    boolean indicating if sequence number needs to be appended at the end

    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.

    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)