文档

Unity Engine

Unity Engine

LogType

The type of the log message in Debug.unityLogger.Log or delegate registered with Application.RegisterLogCallback.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Enum
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public enum LogType

Remarks

Additional Resources: Logger, ILogger, Debug.unityLogger, Application.RegisterLogCallback.

Fields

Value

Description

AssertLogType used for Asserts. (These could also indicate an error inside Unity itself.)
ErrorLogType used for Errors.
ExceptionLogType used for Exceptions.
LogLogType used for regular log messages.
WarningLogType used for Warnings.