API reference
API reference
Select your platform
No SDKs available
No versions available

ILogSink Interface

A log sink is a target where we write log entries.

Properties

ErrorMitigator : IErrorMitigator
[Get][Set]
The error mitigator. This is mainly used to supplement the internal error mitigator or replace it.
Signature
IErrorMitigator Meta.Voice.Logging.ILogSink.ErrorMitigator
LogWriter : ILogWriter
[Get][Set]
The log writer to which this sink writes.
Signature
ILogWriter Meta.Voice.Logging.ILogSink.LogWriter
Options : LoggerOptions
[Get][Set]
The logging options.
Signature
LoggerOptions Meta.Voice.Logging.ILogSink.Options

Methods

WriteEntry ( logEntry )
Write a log entry to the sink.
Signature
void Meta.Voice.Logging.ILogSink.WriteEntry(LogEntry logEntry)
Parameters
logEntry: LogEntry  The entry to write.
Returns
void
WriteError ( message )
Writes an error message directly without any processing. This is used for logging errors with the logger itself.
Signature
void Meta.Voice.Logging.ILogSink.WriteError(string message)
Parameters
message: string  The message.
Returns
void