PostSharp / / API Reference / Post­Sharp.​Patterns.​Diagnostics / Logging­Services / Get­Source

Method GetSource

GetSource(String, Type)

Declaration
public static LoggingTypeSource GetSource(string role, Type type)
Parameters
Type Name Description
String role
Type type
Returns
Type Description
LoggingTypeSource

GetSource(String, String)

Declaration
public static LoggingNamespaceSource GetSource(string role, string ns = null)
Parameters
Type Name Description
String role
String ns
Returns
Type Description
LoggingNamespaceSource