跳到主要内容
版本:3.0.x

Interface ILogger

自定义日志处理接口

Assembly: YooAsset.dll​
View Source​
Declaration
public interface ILogger

Methods​

Log(string)​

输出普通日志

View Source​
Declaration
void Log(string message)
Parameters​
TypeName
System.Stringmessage

LogWarning(string)​

输出警告日志

View Source​
Declaration
void LogWarning(string message)
Parameters​
TypeName
System.Stringmessage

LogError(string)​

输出错误日志

View Source​
Declaration
void LogError(string message)
Parameters​
TypeName
System.Stringmessage

LogException(Exception)​

输出异常日志

View Source​
Declaration
void LogException(Exception exception)
Parameters​
TypeName
System.Exceptionexception