Log::Enabled()

BOOL Log::Enabled()

Returns a boolean indicating whether the Log service is enabled – TRUE indicates the Log service is enabled and available; FALSE indicates the Log service is not enabled and so not available.