docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class LogOutputs

    Manages all log outputs

    Inheritance
    object
    LogOutputs
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Cloud.Common
    Assembly: Unity.Cloud.Common.dll
    Syntax
    public static class LogOutputs

    Properties

    Outputs

    The current list of ILogOutput.

    Declaration
    public static IReadOnlyList<ILogOutput> Outputs { get; }
    Property Value
    Type Description
    IReadOnlyList<ILogOutput>

    Methods

    Add(ILogOutput)

    Adds a ILogOutput to the list of outputs.

    Declaration
    public static void Add(ILogOutput logOutput)
    Parameters
    Type Name Description
    ILogOutput logOutput

    The log output to add.

    Clear()

    Clear all log outputs.

    Declaration
    public static void Clear()

    Contains(ILogOutput)

    Returns whether the list of outputs contains a specific ILogOutput.

    Declaration
    public static bool Contains(ILogOutput logOutput)
    Parameters
    Type Name Description
    ILogOutput logOutput

    The log output to verify.

    Returns
    Type Description
    bool

    Whether the output is contained in the list.

    Contains<T>()

    Returns whether the list of outputs contains any implementation of a ILogOutput with the specified type.

    Declaration
    public static bool Contains<T>() where T : ILogOutput
    Returns
    Type Description
    bool

    Whether the output type is contained in the list.

    Type Parameters
    Name Description
    T

    The type of ILogOutput to verify.

    Remove(ILogOutput)

    Removes a ILogOutput from the list of outputs.

    Declaration
    public static bool Remove(ILogOutput logOutput)
    Parameters
    Type Name Description
    ILogOutput logOutput

    The log output to remove.

    Returns
    Type Description
    bool

    Whether the output was removed from the list.

    RemoveAll<T>()

    Removes all implementations of a ILogOutput with the specified type from the list of outputs.

    Declaration
    public static bool RemoveAll<T>() where T : ILogOutput
    Returns
    Type Description
    bool

    Whether any output was removed from the list.

    Type Parameters
    Name Description
    T

    The type of ILogOutput to remove.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)