ドキュメント

Unity Engine

Unity Engine

IsLogTypeAllowed(LogType)

Check logging is enabled based on the LogType.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

Parameters

logType

The type of the log message.

Returns

Type

Description

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

Remarks

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