• Articles
  • Api Documentation
Search Results for

    Show / Hide Table of Contents
    • SipLib.Body
      • BodyParser
      • ContentTypes
      • MessageContentsContainer
      • MultipartBinaryBodyBuilder
      • SipBodyBuilder
    • SipLib.Channels
      • AcceptCertificateDelegate
      • AcceptConnectionDelegate
      • DscpSettings
      • LogInvalidSipMessageDelegate
      • LogSipRequestDelegate
      • LogSipResponseDelegate
      • Qos
      • SIPChannel
      • SIPConnection
      • SIPConnectionDisconnectedDelegate
      • SIPConnectionsEnum
      • SIPMessageReceivedDelegate
      • SIPTCPChannel
      • SIPTLSChannel
      • SIPUDPChannel
      • SipConnectionFailedDelegate
      • SipRequestReceivedDelegate
      • SipResponseReceivedDelegate
      • SipTransactionCompleteDelegate
      • WindowsQos
    • SipLib.Collections
      • ThreadSafeGenericList<T>
    • SipLib.Core
      • ByteBufferInfo
      • CallProperties
      • Crypto
      • HTTPDigest
      • IPSocket
      • SIPAuthenticationHeader
      • SIPAuthorisationDigest
      • SIPAuthorisationHeadersEnum
      • SIPCallInfoHeader
      • SIPConstants
      • SIPContactHeader
      • SIPEndPoint
      • SIPEscape
      • SIPFrag
      • SIPFromHeader
      • SIPGeolocationHeader
      • SIPHeader
      • SIPHeaders
      • SIPMessage
      • SIPMessageTypesEnum
      • SIPMethods
      • SIPMethodsEnum
      • SIPPaiHeader
      • SIPParameters
      • SIPPpiHeader
      • SIPProtocolsEnum
      • SIPProtocolsType
      • SIPReplacesParameter
      • SIPRequest
      • SIPResponse
      • SIPResponseStatusCodes
      • SIPResponseStatusCodesEnum
      • SIPRoute
      • SIPRouteSet
      • SIPSchemesEnum
      • SIPSchemesType
      • SIPToHeader
      • SIPURI
      • SIPUserField
      • SIPValidationException
      • SIPValidationFieldsEnum
      • SIPViaHeader
      • SIPViaSet
      • SipUtils
      • TypeExtensions
    • SipLib.Dtls
      • AlertLevelsEnum
      • AlertTypesEnum
      • DtlsClientUdpTransport
      • DtlsServerUdpTransport
      • DtlsSrtpClient
      • DtlsSrtpServer
      • DtlsSrtpTransport
      • DtlsUtils
      • IDtlsSrtpPeer
      • IPacketTransformer
      • ITransformEngine
      • NetConvert
      • RTCDtlsFingerprint
      • RawPacket
      • SrtcpCryptoContext
      • SrtpPolicy
      • SrtpTransformEngine
      • SrtpTransformer
    • SipLib.Logging
      • SipLogger
    • SipLib.Media
      • ALawDecoder
      • ALawEncoder
      • AudioDestination
      • AudioDestinationDelegate
      • AudioSampleData
      • AudioSamplesReadyDelegate
      • AudioSource
      • Band
      • DtmfDigitReceivedDelegate
      • FileAudioSource
      • G722Codec
      • G722CodecState
      • G722Decoder
      • G722Encoder
      • G722Flags
      • HighResolutionTimer
      • HighResolutionTimerDelegate
      • IAudioDecoder
      • IAudioEncoder
      • IAudioSampleSource
      • MediaPortManager
      • MediaPortSettings
      • MediaTypes
      • MsrpEncryptionEnum
      • MuLawDecoder
      • MuLawEncoder
      • PcmaDecoder
      • PcmaEncoder
      • PcmuDecoder
      • PcmuEncoder
      • PortRange
      • RtpEncryptionEnum
    • SipLib.Msrp
      • ByteRangeHeader
      • CpimMessage
      • MsrpCompletionStatus
      • MsrpConnection
      • MsrpConnectionStatusDelegate
      • MsrpMessage
      • MsrpMessageDeliveryFailedDelegate
      • MsrpMessageReceivedDelegate
      • MsrpMessageSentDelegate
      • MsrpMessageType
      • MsrpPathHeader
      • MsrpStatusHeader
      • MsrpStreamParser
      • MsrpTextMessageReceivedDelegate
      • MsrpUri
      • ReportReceivedDelegate
    • SipLib.Network
      • IpUtils
    • SipLib.RealTimeText
      • RttCharactersReceivedDelegate
      • RttParameters
      • RttReceiver
      • RttRtpSendDelegate
      • RttSender
    • SipLib.Rtp
      • ByePacket
      • DtlsHandshakeFailedDelegate
      • DtmfEventEnum
      • DtmfPacket
      • JitterStatistics
      • MeanOpinionScore
      • ReceiveStatisticsReadyDelegate
      • ReceiverReport
      • ReportBlock
      • RtcpCompoundPacket
      • RtcpHeader
      • RtcpPacketReceivedDelegate
      • RtcpPacketSentDelegate
      • RtcpPacketType
      • RtpChannel
      • RtpPacket
      • RtpPacketReceivedDelegate
      • RtpPacketSentDelegate
      • RtpReceiveStatistics
      • RtpUtils
      • SdesChunk
      • SdesItem
      • SdesItemType
      • SdesPacket
      • SenderInfo
      • SenderReport
    • SipLib.RtpCrypto
      • AesFunctions
      • CryptoAttribute
      • CryptoContext
      • CryptoSuites
      • InlineParams
      • MasterKeys
      • RocVals
      • RocValues
      • SRtpErrorsEnum
      • SRtpUtils
      • SessionKeys
      • SrtpDecryptor
      • SrtpEncryptor
      • SrtpLabelItem
      • SrtpTransformBase
    • SipLib.Sdp
      • ConnectionData
      • MediaDescription
      • MediaDirectionEnum
      • Origin
      • RtpMapAttribute
      • Sdp
      • SdpAnswerSettings
      • SdpAttribute
      • SdpUtils
      • SetupType
    • SipLib.Threading
      • QueuedActionWorkerTask
    • SipLib.Transactions
      • ClientInviteTransaction
      • ClientNonInviteTransaction
      • ServerInviteTransaction
      • ServerNonInviteTransaction
      • SipTimers
      • SipTransactionBase
      • SipTransport
      • TransactionRequestReceivedDelegate
      • TransactionResponseReceivedDelegate
      • TransactionStateEnum
      • TransactionTerminationReasonEnum
    • SipLib.Video
      • H264Depacketiser
      • H264Packetiser
      • H264Packetiser.H264Nal
      • H264RtpReceiver
      • H264RtpSender
      • RtpSendDelegate
      • RtpVP8Header
      • VP8RtpReceiver
      • VP8RtpSender
      • VideoRtpReceiver
      • VideoRtpSender

    Class SipLogger

    Class for logging debug, information, warning, error and critical messages. This class is used by the classes in the SipLib class library to log application messages. By default, this class logs all messages to a NullLogger. This means that no messages are logged.

    The consumer of the SipLib class libray must configure this class by constructing an Ilogger interface and call the Log set property. It is possible to configure this class to log messages to a separate logging destination. It is also possible to configure this class to log messages to the same logging destination as the consummer (an application or another class library) of this class library. It is also possible for the consumer of this class library to use this class directly to log application messages.

    See Configuring SipLib Logging.

    Inheritance
    object
    SipLogger
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: SipLib.Logging
    Assembly: SipLib.dll
    Syntax
    public static class SipLogger

    Properties

    | Edit this page View Source

    Log

    Sets the ILogger interface that this class will use to log messages.

    Declaration
    public static ILogger Log { set; }
    Property Value
    Type Description
    ILogger

    Methods

    | Edit this page View Source

    LogCritical(Exception, string)

    Logs a Critical level message with an exception that occurred

    Declaration
    public static void LogCritical(Exception exception, string message)
    Parameters
    Type Name Description
    Exception exception

    Exception that occurred

    string message

    Message to log

    | Edit this page View Source

    LogCritical(string)

    Logs a Critical level message

    Declaration
    public static void LogCritical(string message)
    Parameters
    Type Name Description
    string message

    Message to log

    | Edit this page View Source

    LogDebug(Exception, string)

    Logs a Debug level message with an exception that occurred

    Declaration
    public static void LogDebug(Exception exception, string message)
    Parameters
    Type Name Description
    Exception exception

    Exception that occurred

    string message

    Message to log

    | Edit this page View Source

    LogDebug(string)

    Logs a Debug level message

    Declaration
    public static void LogDebug(string message)
    Parameters
    Type Name Description
    string message

    Message to log

    | Edit this page View Source

    LogError(Exception, string)

    Logs an Error level message with an exception that occurred

    Declaration
    public static void LogError(Exception exception, string message)
    Parameters
    Type Name Description
    Exception exception

    Exception that occurred

    string message

    Message to log

    | Edit this page View Source

    LogError(string)

    Logs an Error level message

    Declaration
    public static void LogError(string message)
    Parameters
    Type Name Description
    string message

    Message to log

    | Edit this page View Source

    LogInformation(Exception, string)

    Logs an Information level message with an exception that occurred.

    Declaration
    public static void LogInformation(Exception exception, string message)
    Parameters
    Type Name Description
    Exception exception

    Exception that occurred

    string message

    Message to log

    | Edit this page View Source

    LogInformation(string)

    Logs an Information level message.

    Declaration
    public static void LogInformation(string message)
    Parameters
    Type Name Description
    string message

    Message to log

    | Edit this page View Source

    LogWarning(Exception, string)

    Logs a Warning level message with an exception

    Declaration
    public static void LogWarning(Exception exception, string message)
    Parameters
    Type Name Description
    Exception exception

    Exception that occurred

    string message

    Message to log

    | Edit this page View Source

    LogWarning(string)

    Logs a Warning level message

    Declaration
    public static void LogWarning(string message)
    Parameters
    Type Name Description
    string message

    Message to log

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX