BuildTimeLogger.GetInstance Method |
Gets a BuildTimeLogger for a given category, or null if
logging is not enabled for this category.
Namespace: PostSharp.Extensibility.BuildTimeLogging
Assembly: PostSharp (in PostSharp.dll) Version: 6.10.10.0 (6.10.10.0)
C#
public static BuildTimeLogger GetInstance( string category )
Parameters
- category
- Type: System.String
The name of the category.
Return Value
Type: BuildTimeLoggerA BuildTimeLogger for the category if logging is enabled for the category, otherwise null.