Version: 2017.3

Logger.IsLogTypeAllowed

Switch to Manual
public bool IsLogTypeAllowed (LogType logType);

Parameters

logType The 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.