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

Log4NetLoggingTypeSource Constructor (LoggingNamespaceSource, String, Type)

Initializes a new Log4NetLoggingTypeSource.

Namespace:  PostSharp.Patterns.Diagnostics.Backends.Log4Net
Assembly:  PostSharp.Patterns.Diagnostics.Backends.Log4Net (in PostSharp.Patterns.Diagnostics.Backends.Log4Net.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public Log4NetLoggingTypeSource(
	LoggingNamespaceSource parent,
	string loggerName,
	Type type = null
)

Parameters

parent
Type: PostSharp.Patterns.Diagnostics.LoggingNamespaceSource
The parent LoggingNamespaceSource.
loggerName
Type: System.String
The Log4Net logger name.
type (Optional)
Type: System.Type
The source Type, if any.
See Also