Files
2026-03-04 09:37:33 +08:00

19 lines
463 B
C#

using System;
using UnityEngine;
namespace ShiningGames.Tools
{
public static class Logger
{
public static void Log(string message)
{
TimeSpan timeOfDay = DateTime.Now.TimeOfDay;
int hours = timeOfDay.Hours;
int minutes = timeOfDay.Minutes;
int seconds = timeOfDay.Seconds;
int milliseconds = timeOfDay.Milliseconds;
Debug.Log(string.Concat("{" + hours + ":" + minutes + ":" + seconds + "." + milliseconds + "}", " ", message));
}
}
}