PostSharp 6.7 / / Post­Sharp Documentation / 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, String, Type)

ConsoleLoggingTypeSource Constructor (LoggingNamespaceSource, String, Type)

Initializes a new ConsoleLoggingTypeSource.

Namespace:  PostSharp.Patterns.Diagnostics.Backends.Console
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.7.12.0 (6.7.12.0)
Syntax
C#
public ConsoleLoggingTypeSource(
	LoggingNamespaceSource parent,
	string sourceName,
	Type type = null
)

Parameters

parent
Type: PostSharp.Patterns.Diagnostics.LoggingNamespaceSource
The parent LoggingNamespaceSource.
sourceName
Type: System.String
Name of the log source.
type (Optional)
Type: System.Type
The Type being logged, if any.
See Also