PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Backends.​Microsoft Namespace / Microsoft­Logging­Type­Source Class / Microsoft­Logging­Type­Source Constructor / Microsoft­Logging­Type­Source Constructor (Logging­Namespace­Source, Type)

MicrosoftLoggingTypeSource Constructor (LoggingNamespaceSource, Type)

Note: This API is now obsolete.

Initializes a new MicrosoftLoggingTypeSource.

Namespace:  PostSharp.Patterns.Diagnostics.Backends.Microsoft
Assembly:  PostSharp.Patterns.Diagnostics.Backends.Microsoft (in PostSharp.Patterns.Diagnostics.Backends.Microsoft.dll) Version: 6.10.5.0 (6.10.5.0)
Syntax
C#
[ObsoleteAttribute("Use the other constructor.")]
public MicrosoftLoggingTypeSource(
	LoggingNamespaceSource parent,
	Type type
)

Parameters

parent
Type: PostSharp.Patterns.Diagnostics.LoggingNamespaceSource
The parent LoggingNamespaceSource.
type
Type: System.Type
The source Type that will emit log records.
See Also