OurSonic.Level.Objects.LevelObjectInfo.Log C# (CSharp) Method

Log() public method

public Log ( string txt, int level = 100 ) : void
txt string
level int
return void
        public void Log(string txt, int level = 100)
        {
            if (Debug.Falsey())
                Debug = new List<string>();

            if (level == 0)
                Debug.Add(" -- " + txt + " -- ");
            else
                Debug.Add(txt);
            if (ConsoleLog.Truthy())
                ConsoleLog(Debug);
        }