Class Logger
A logger that logs messages originating from Realm. The default logger can be replaced by setting Default.
A few built-in implementations are provided by Console, Null, and Function(Action<string>),
but you can implement your own.
Inherited Members
Namespace: Realms.Logging
Assembly: Realm.dll
Syntax
[Obsolete("Use RealmLogger instead. If using a custom logger, RealmLogger.LogImpl() additionally receives the log category.")]
public abstract class Logger : RealmLogger
Methods
| Edit this page View SourceLogImpl(LogLevel, LogCategory, string)
The internal implementation being called from Log(LogLevel, LogCategory, string).
Declaration
protected override void LogImpl(LogLevel level, LogCategory category, string message)
Parameters
Type | Name | Description |
---|---|---|
LogLevel | level | The criticality level for the message. |
LogCategory | category | The category for the message. |
string | message | The message to log. |
Overrides
| Edit this page View SourceLogImpl(LogLevel, string)
The internal implementation being called from Log(LogLevel, string).
Declaration
protected abstract void LogImpl(LogLevel level, string message)
Parameters
Type | Name | Description |
---|---|---|
LogLevel | level | The criticality level for the message. |
string | message | The message to log. |