docs.unity3d.com
    Show / Hide Table of Contents

    Enum LogWriterUtils.ContextWriteResult

    Result values returned by an OutputWriteHandler implementer.

    Namespace: Unity.Logging
    Syntax
    public enum ContextWriteResult

    Fields

    Name Description Value
    UnknownType

    Context ID value is recognized/supported by the current LogWriterUtils.OutputWriterHandler.


    There can be multiple LogWriterUtils.OutputWriterHandler delegates, each supporting a different set of context data structs, which are called in turn from a list until an approbate delegate is found. Delegates must return this value if the context data type isn't recognized to instruct LogWriterUtils to try the next delegate.

    0
    Success

    Indicates an LogWriterUtils.OutputWriterHandler successfully wrote the data for a Context struct to the output stream.


    1
    Failed

    Indicates an LogWriterUtils.OutputWriterHandler failed to write the data for a Context struct to the output stream.


    This should be returned if there's any issue writing data.

    2
    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