Skip to content

Debug (JavaScript)

Debug

Scripting Name:Insight.Debug

调试信息输出类。

Static Methods


Log

public static void Log(string str);

输出一条日志。

javascript
// sample:
Insight.Debug.Log("Print out a message");

LogError

public static void LogError(string str);

输出一条错误日志。

javascript
// sample:
Insight.Debug.LogError("Print out an error");

LogWarning

javascript
public static void LogWarning(string str);

输出一条警告日志。

javascript
// sample:
Insight.Debug.LogWarning("Print out a warning");