• API Documentation
Show / Hide Table of Contents
  • Rssdp
    • AggregateSsdpDeviceLocator
    • CustomHttpHeader
    • CustomHttpHeadersCollection
    • DeviceAvailableEventArgs
    • DeviceEventArgs
    • DeviceNetworkType
    • DeviceNetworkTypeExtensions
    • DeviceUnavailableEventArgs
    • DiscoveredSsdpDevice
    • ExceptionExtensions
    • ISsdpLogger
    • NullLogger
    • ServiceEventArgs
    • SocketClosedException
    • SocketFactory
    • SsdpDevice
    • SsdpDeviceExtensions
    • SsdpDeviceIcon
    • SsdpDeviceLocator
    • SsdpDevicePropertiesCollection
    • SsdpDeviceProperty
    • SsdpDevicePublisher
    • SsdpEmbeddedDevice
    • SsdpRootDevice
    • SsdpService
    • SsdpStandardsMode
    • SsdpTraceLogger
  • Rssdp.Infrastructure
    • DisposableManagedObjectBase
    • HttpParserBase<T>
    • HttpRequestParser
    • HttpResponseParser
    • ISocketFactory
    • ISsdpCommunicationsServer
    • ISsdpDeviceLocator
    • ISsdpDevicePublisher
    • IUdpSocket
    • IUpnpDeviceValidator
    • ReceivedUdpData
    • RequestReceivedEventArgs
    • ResponseReceivedEventArgs
    • SsdpCommunicationsServer
    • SsdpConstants
    • SsdpDeviceLocatorBase
    • SsdpDevicePublisherBase
    • UdpEndPoint
    • Upnp10DeviceValidator

Class SsdpTraceLogger

Implementation of ISsdpLogger that writes to the .Net tracing system on platforms that support it, or System.Diagnostics.Debug on those that don't.

Inheritance
System.Object
SsdpTraceLogger
Implements
ISsdpLogger
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Rssdp
Assembly: cs.temp.dll.dll
Syntax
public class SsdpTraceLogger : ISsdpLogger
Remarks

On platforms that only support System.Diagnostics.Debug no log entries will be output unless running a debug build, and this effectively becomes a null logger for release builds.

Methods

LogError(String)

Records a message that represents an error.

Declaration
public void LogError(string message)
Parameters
Type Name Description
System.String message

The text to be logged.

LogInfo(String)

Records a regular log message.

Declaration
public void LogInfo(string message)
Parameters
Type Name Description
System.String message

The text to be logged.

LogVerbose(String)

Records a frequent or large log message usually only required when trying to trace a problem.

Declaration
public void LogVerbose(string message)
Parameters
Type Name Description
System.String message

The text to be logged.

LogWarning(String)

Records an important message, but one that may not neccesarily be an error.

Declaration
public void LogWarning(string message)
Parameters
Type Name Description
System.String message

The text to be logged.

Implements

ISsdpLogger
In This Article
Back to top Copyright (c) 2015 Troy Willmot