跳转至

AesirModulesDebug

  • 种类: static class
  • 命名空间: Runestone.AesirModules
  • 程序集: Runestone.AesirModules

继承链: System.Object → AesirModulesDebug

声明

public static class AesirModulesDebug

字段

名称 描述
AesirModulesTag —
AudioModuleTag —
EventModuleTag —
ObjectBinderTag —
SceneModuleTag —
ScriptDocGeneratorTag ScriptDocGenerator 模块前缀。该模块的可读日志此前散落在 Debug.Log* 与多种裸前缀上 (含无前缀),统一收敛到门面后以其为模块标识。
UIModuleTag —

AesirModulesTag

public const string AesirModulesTag = "[AesirModules]";

AudioModuleTag

public const string AudioModuleTag = "[AudioModule]";

EventModuleTag

public const string EventModuleTag = "[EventModule]";

ObjectBinderTag

public const string ObjectBinderTag = "[ObjectBinder]";

SceneModuleTag

public const string SceneModuleTag = "[SceneModule]";

ScriptDocGeneratorTag

ScriptDocGenerator 模块前缀。该模块的可读日志此前散落在 Debug.Log* 与多种裸前缀上 (含无前缀),统一收敛到门面后以其为模块标识。

public const string ScriptDocGeneratorTag = "[ScriptDocGenerator]";

UIModuleTag

public const string UIModuleTag = "[UIModule]";

方法

声明的方法

名称 描述
Log(object, string, string) 输出 Log 级别消息,附带来源标识
Log(string, string) 输出 Log 级别消息
LogError(object, string, string) 输出 Error 级别消息,附带来源标识
LogError(string, string) 输出 Error 级别消息
LogTestInfo(object, string, string) 输出单元测试日志消息,附带来源标识
LogTestInfo(string, string) 输出单元测试日志消息。 仅在定义了 UNITY_INCLUDE_TESTS 的程序集中生效,非测试构建自动剔除调用。
LogWarning(object, string, string) 输出 Warning 级别消息,附带来源标识
LogWarning(string, string) 输出 Warning 级别消息

继承的方法

名称 描述 声明类型
GetType() — object
Equals(object) — object
GetHashCode() — object
ToString() — object
MemberwiseClone() — object
Finalize() — object

Log(object, string, string)

输出 Log 级别消息,附带来源标识

[Conditional]
public static void Log(object source, string prefixTag, string message)

参数

名称 类型 说明
source object —
prefixTag string —
message string —

Log(string, string)

输出 Log 级别消息

[Conditional]
public static void Log(string prefixTag, string message)

参数

名称 类型 说明
prefixTag string —
message string —

LogError(object, string, string)

输出 Error 级别消息,附带来源标识

public static void LogError(object source, string prefixTag, string message)

参数

名称 类型 说明
source object —
prefixTag string —
message string —

LogError(string, string)

输出 Error 级别消息

public static void LogError(string prefixTag, string message)

参数

名称 类型 说明
prefixTag string —
message string —

LogTestInfo(object, string, string)

输出单元测试日志消息,附带来源标识

[Conditional]
public static void LogTestInfo(object source, string prefixTag, string message)

参数

名称 类型 说明
source object —
prefixTag string —
message string —

LogTestInfo(string, string)

输出单元测试日志消息。 仅在定义了 UNITY_INCLUDE_TESTS 的程序集中生效,非测试构建自动剔除调用。

[Conditional]
public static void LogTestInfo(string prefixTag, string message)

参数

名称 类型 说明
prefixTag string —
message string —

LogWarning(object, string, string)

输出 Warning 级别消息,附带来源标识

[Conditional]
public static void LogWarning(object source, string prefixTag, string message)

参数

名称 类型 说明
source object —
prefixTag string —
message string —

LogWarning(string, string)

输出 Warning 级别消息

[Conditional]
public static void LogWarning(string prefixTag, string message)

参数

名称 类型 说明
prefixTag string —
message string —

Additional Notes

首个 ## Additional Notes 是增量生成文档标识符,请勿修改标题级别和内容!本文档由 Script Doc Generator 辅助生成。