docs.unity3d.com
    Show / Hide Table of Contents

    Struct FileSinkSystem.GeneralSinkConfiguration

    General configuration

    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 GeneralSinkConfiguration

    Fields

    Postfix

    String that should be added to any file at the end

    Declaration
    public FixedString4096Bytes Postfix
    Field Value
    Type Description
    FixedString4096Bytes

    Prefix

    String that should be added to any file at the beginning

    Declaration
    public FixedString4096Bytes Prefix
    Field Value
    Type Description
    FixedString4096Bytes

    Separator

    String that should be added between each logging message

    Declaration
    public FixedString64Bytes Separator
    Field Value
    Type Description
    FixedString64Bytes

    Methods

    JsonArray()

    Whole file is a json array, elements separated with comma

    Declaration
    public static FileSinkSystem.GeneralSinkConfiguration JsonArray()
    Returns
    Type Description
    FileSinkSystem.GeneralSinkConfiguration

    GeneralSinkConfiguration that describes JSON array setup

    JsonLines()

    Each line is a JSON object

    Declaration
    public static FileSinkSystem.GeneralSinkConfiguration JsonLines()
    Returns
    Type Description
    FileSinkSystem.GeneralSinkConfiguration

    GeneralSinkConfiguration that describes JSON lines setup

    Back to top
    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