docs.unity3d.com
    Show / Hide Table of Contents

    Struct FileOperationsFileStream

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Unity.Logging.Sinks
    Syntax
    public struct FileOperationsFileStream : IFileOperations, IDisposable

    Properties

    IsValid

    Declaration
    public readonly bool IsValid { get; }
    Property Value
    Type Description
    Boolean

    Methods

    Append(Byte*, UInt64, Boolean)

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

    Dispose()

    Declaration
    public void Dispose()
    Implements
    IDisposable.Dispose()

    Flush()

    Declaration
    public void Flush()
    Implements
    IFileOperations.Flush()

    Initialize(ref FixedString4096Bytes, ref FixedString64Bytes, ref FixedString4096Bytes)

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

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

    Declaration
    public 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
    Implements
    IFileOperations.OpenFileForLogging(ref FixedString512Bytes, ref FixedString32Bytes, Int64, TimeSpan, Int32)
    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