文档

Unity Engine

Unity Engine

IsLogTypeAllowed(LogType)

Check logging is enabled based on the LogType.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
bool IsLogTypeAllowed(LogType logType)

Parameters

logType

Returns

Type

Description

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

Remarks

Additional Resources: Logger.IsLogTypeAllowed.