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
LogCategory
Namespace: Realms.Logging
Assembly: Realm.dll
Syntax
public class LogCategory
Examples
LogCategory.Realm.Sync.Client
Properties
| Edit this page View SourceName
Gets the name of the category.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
string |
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 SourceToString()
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. |