PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​Backends.​Trace­SourceTrace­Source­Logging­Type­SourceTrace­Source­Logging­Type­Source
Open sandboxFocus

TraceSourceLoggingTypeSource Constructor

TraceSourceLoggingTypeSource(LoggingNamespaceSource, Type)

Initializes a new TraceSourceLoggingTypeSource.

Declaration
public TraceSourceLoggingTypeSource(LoggingNamespaceSource parent, Type type)
Parameters
Type Name Description
LoggingNamespaceSource parent

The parent LoggingNamespaceSource.

System.Type type

The System.Type being logged.

TraceSourceLoggingTypeSource(LoggingNamespaceSource, String, Type)

Initializes a new TraceSourceLoggingTypeSource.

Declaration
public TraceSourceLoggingTypeSource(LoggingNamespaceSource parent, string sourceName, Type type = null)
Parameters
Type Name Description
LoggingNamespaceSource parent

The parent LoggingNamespaceSource.

String sourceName

Name for the log source.

System.Type type

The System.Type being logged, if any.