Search Results for

    Show / Hide Table of Contents

    Class LogCategory

    Specifies the category to receive log messages for when logged by the default logger. The LogLevel will always be set for a specific category. Setting the log level for one category will automatically set the same level for all of its subcategories.

    The category hierarchy is the following:

    Realm
    ├─► Storage
    │   ├─► Transaction
    │   ├─► Query
    │   ├─► Object
    │   └─► Notification
    ├─► Sync
    │   ├─► Client
    │   │   ├─► Session
    │   │   ├─► Changeset
    │   │   ├─► Network
    │   │   └─► Reset
    │   └─► Server
    ├─► App
    └─► SDK
    Inheritance
    object
    LogCategory
    LogCategory.ClientLogCategory
    LogCategory.RealmLogCategory
    LogCategory.StorageLogCategory
    LogCategory.SyncLogCategory
    Namespace: Realms.Logging
    Assembly: Realm.dll
    Syntax
    public class LogCategory
    Examples
    LogCategory.Realm.Sync.Client

    Properties

    | Edit this page View Source

    Name

    Gets the name of the category.

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Realm

    Gets the top-level category for receiving log messages for all categories.

    Declaration
    public static LogCategory.RealmLogCategory Realm { get; }
    Property Value
    Type Description
    LogCategory.RealmLogCategory

    Methods

    | Edit this page View Source

    ToString()

    Returns a string that represents the category, equivalent to its name.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string that represents the category, equivalent to its name.

    Overrides
    object.ToString()
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2020-2024 Realm
    Generated by DocFX