Open sandboxFocus

Method GetInstance

GetInstance(string)

Gets a BuildTimeLogger for a given category, or null if logging is not enabled for this category.

Declaration
public static BuildTimeLogger GetInstance(string category)
Parameters
Type Name Description
string category

The name of the category.

Returns
Type Description
BuildTimeLogger

A BuildTimeLogger for the category if logging is enabled for the category, otherwise null.