MixedReality-WebRTC MixedReality-WebRTC
Search Results for

    Show / Hide Table of Contents

    Class Logging

    Logging utilities.

    Inheritance
    Object
    Logging
    Namespace: Microsoft.MixedReality.WebRTC
    Assembly: Microsoft.MixedReality.WebRTC.dll
    Syntax
    public static class Logging : object

    Methods

    | Improve this Doc View Source

    AddSink(ILogSink, LogSeverity)

    Add a log sink receiving messages.

    Declaration
    public static void AddSink(ILogSink sink, LogSeverity minimumSeverity)
    Parameters
    Type Name Description
    ILogSink sink

    The sink to register.

    LogSeverity minimumSeverity

    Minimum severity of messages to forward to the sink.

    | Improve this Doc View Source

    LogMessage(LogSeverity, String)

    Log a message with a given severity. The message will be logged alongside the messages generated by the implementation, and received by any registered sink callback like internal messages.

    Declaration
    public static void LogMessage(LogSeverity severity, string message)
    Parameters
    Type Name Description
    LogSeverity severity

    Message severity.

    String message

    Message content.

    | Improve this Doc View Source

    RemoveSink(ILogSink)

    Remove a log sink receiving messages.

    Declaration
    public static void RemoveSink(ILogSink sink)
    Parameters
    Type Name Description
    ILogSink sink

    The sink to unregister.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX