PostSharp6.7//API Reference/Post­Sharp.​Patterns.​Diagnostics.​Backends.​Console Namespace/Console­Logging­Type­Source Class/Console­Logging­Type­Source Constructor/Console­Logging­Type­Source Constructor (Logging­Namespace­Source, Type)

ConsoleLoggingTypeSource Constructor (LoggingNamespaceSource, Type)

Note: This API is now obsolete.

Initializes a new ConsoleLoggingTypeSource.

Namespace:  PostSharp.Patterns.Diagnostics.Backends.Console
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.7.10.0 (6.7.10.0)
Syntax
C#
[ObsoleteAttribute("Use the other constructor, passing type.FullName as the sourceName.")]
public ConsoleLoggingTypeSource(
	LoggingNamespaceSource parent,
	Type type
)

Parameters

parent
Type: PostSharp.Patterns.Diagnostics.LoggingNamespaceSource
The parent LoggingNamespaceSource.
type
Type: System.Type
The Type being logged.
See Also