summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/XTimeoutLogHandler.cs
blob: 239bc0fa8197c9c3acebd4a66a3b6d9516bd79e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
using System;
using XUtliPoolLib;

namespace XMainClient
{
	internal class XTimeoutLogHandler : XTimeoutHandler
	{
		public string Message;

		public void OnReport(int limit, int used)
		{
			XSingleton<XDebug>.singleton.AddLog(this.Message, " used: ", used.ToString(), " limit: ", limit.ToString(), " ms", XDebugColor.XDebug_None);
		}
	}
}