docs.unity.cn
    Show / Hide Table of Contents

    Struct FileSinkSystem.RollingFileConfiguration

    Current rolling file state

    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 RollingFileConfiguration

    Fields

    MaxFileSizeBytes

    Max file size in bytes that is allowed. 0 if no rolling should occur on the size of file

    Declaration
    public long MaxFileSizeBytes
    Field Value
    Type Description
    Int64

    MaxRoll

    Max number of rolls

    Declaration
    public int MaxRoll
    Field Value
    Type Description
    Int32

    MaxTimeSpan

    Max time span for a file to be opened. Default if no rolling should occur on the time

    Declaration
    public TimeSpan MaxTimeSpan
    Field Value
    Type Description
    TimeSpan
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Thursday, August 10, 2023