Version: 2018.2

Logger.IsLogTypeAllowed

Switch to Manual
public bool IsLogTypeAllowed (LogType logType);

Parameters

logTypeThe type of the log message.

Returns

bool Retrun true in case logs of LogType will be logged otherwise returns false.

Description

Check logging is enabled based on the LogType.

Return true based on Logger.filterLogType and Logger.logEnabled.