예제 #1
0
        public static void Print(string Msg, DebugLevel debugLevel = DebugLevel.Info)
        {
            DebugLog instance = Instance;

            if (instance != null)
            {
                instance.HandleDebug("Fabric: " + Msg, debugLevel);
            }
        }
예제 #2
0
        public static void Print(DebugLevel debugLevel, params string[] Msg)
        {
            DebugLog instance = Instance;

            if (instance != null)
            {
                _stringBuilder.Remove(0, _stringBuilder.Length);
                _stringBuilder.Append("Fabric: ");
                for (int i = 0; i < Msg.Length; i++)
                {
                    _stringBuilder.Append(Msg[i]);
                }
                instance.HandleDebug(_stringBuilder.ToString(), debugLevel);
            }
        }