Method LogWarningFormat
LogWarningFormat(string, params object[])
LogFormat can be used to write a formatted log message.
선언
public static void LogWarningFormat(string format, params object[] args)
파라미터
타입 | 이름 | 설명 |
---|---|---|
string | format | The string with format tags. |
object[] | args | The args used to fill in the format tags. |
참고
LogWarningFormat supports Composite Formatting and works the same way as Debug.LogWarningFormat. Addressables logs warnings and errors so by default this function will log.
예
Addressables.LogWarningFormat("{0:o}[{1}]Operation took longer than 1 minute", DateTime.Now, this.GetType().Name);