using System; using UnityEngine; namespace HotPatch { public static class HotPatchLog { public const string Prefix = "[HotPatch]"; public static void Info(string message) => Debug.Log(Prefix + " " + message); public static void Warning(string message) => Debug.LogWarning(Prefix + " " + message); public static string SafeUrl(Uri uri) => uri == null ? "" : uri.GetComponents(UriComponents.SchemeAndServer | UriComponents.Path, UriFormat.UriEscaped); } }