docs.unity3d.com
    Show / Hide Table of Contents

    Interface IFileOperations

    Inherited Members
    IDisposable.Dispose()
    Namespace: Unity.Logging.Sinks
    Syntax
    public interface IFileOperations : IDisposable

    Methods

    Append(Byte*, UInt64, Boolean)

    Declaration
    void Append(byte *data, ulong length, bool newLine)
    Parameters
    Type Name Description
    Byte* data
    UInt64 length
    Boolean newLine

    Flush()

    Declaration
    void Flush()

    Initialize(ref FixedString4096Bytes, ref FixedString64Bytes, ref FixedString4096Bytes)

    Declaration
    void Initialize(ref FixedString4096Bytes prefix, ref FixedString64Bytes separator, ref FixedString4096Bytes postfix)
    Parameters
    Type Name Description
    FixedString4096Bytes prefix
    FixedString64Bytes separator
    FixedString4096Bytes postfix

    OpenFileForLogging(ref FixedString512Bytes, ref FixedString32Bytes, Int64, TimeSpan, Int32)

    Declaration
    bool OpenFileForLogging(ref FixedString512Bytes fileName, ref FixedString32Bytes fileExt, long maxBytes, TimeSpan maxTimeSpan, int maxRoll)
    Parameters
    Type Name Description
    FixedString512Bytes fileName
    FixedString32Bytes fileExt
    Int64 maxBytes
    TimeSpan maxTimeSpan
    Int32 maxRoll
    Returns
    Type Description
    Boolean
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023