• 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 NullLogger

Provides a ISsdpLogger implementation that does nothing, effectively disabling logging. Use the Instance property to obtain an instance as the constructor is private.

Inheritance
System.Object
NullLogger
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 NullLogger : ISsdpLogger
Remarks

This logger is inherently thread-safe and the Instance value can be shared among multiple components.

Properties

Instance

Provides a single instance of NullLogger.

Declaration
public static ISsdpLogger Instance { get; }
Property Value
Type Description
ISsdpLogger

Methods

LogError(String)

Does nothing.

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

Unused as this implementation does not log.

LogInfo(String)

Does nothing.

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

Unused as this implementation does not log.

LogVerbose(String)

Does nothing.

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

Unused as this implementation does not log.

LogWarning(String)

Does nothing.

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

Unused as this implementation does not log.

Implements

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