docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class LogsResponse

    Response from the Observability service containing logs which match the query

    Inheritance
    object
    LogsResponse
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.Apis.Admin.Observability
    Assembly: Unity.Services.Apis.dll
    Syntax
    [DataContract(Name = "logs-response")]
    [Preserve]
    public class LogsResponse

    Constructors

    LogsResponse(int, int, int, List<LogRecord>)

    Initializes a new instance of the LogsResponse class.

    Declaration
    [Preserve]
    public LogsResponse(int offset = 0, int limit = 0, int total = 0, List<LogRecord> results = null)
    Parameters
    Type Name Description
    int offset

    The offset of records from the start of the query, matches the request.

    int limit

    The maximum number of records that could be returned.

    int total

    The total number of logs for the given project and environment.

    List<LogRecord> results

    The log entries returned by the query.

    Properties

    Limit

    The maximum number of records that could be returned

    Declaration
    [DataMember(Name = "limit", EmitDefaultValue = false)]
    [Preserve]
    public int Limit { get; set; }
    Property Value
    Type Description
    int

    The maximum number of records that could be returned

    Offset

    The offset of records from the start of the query, matches the request

    Declaration
    [DataMember(Name = "offset", EmitDefaultValue = false)]
    [Preserve]
    public int Offset { get; set; }
    Property Value
    Type Description
    int

    The offset of records from the start of the query, matches the request

    Results

    The log entries returned by the query

    Declaration
    [DataMember(Name = "results", EmitDefaultValue = false)]
    [Preserve]
    public List<LogRecord> Results { get; set; }
    Property Value
    Type Description
    List<LogRecord>

    The log entries returned by the query

    Total

    The total number of logs for the given project and environment

    Declaration
    [DataMember(Name = "total", EmitDefaultValue = false)]
    [Preserve]
    public int Total { get; set; }
    Property Value
    Type Description
    int

    The total number of logs for the given project and environment

    In This Article
    Back to top
    Copyright © 2025 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)