Example #1
0
        /// <summary>
        /// Prints a string[] as log messages.
        /// </summary>
        /// <param name="array"> Array to be printed. </param>

        public void Log(string[] array)
        {
            Console.Write($"Debug {this.LogCount++}: ");
            GeneralTools.PrintArray <string>(array);
        }
Example #2
0
        /// <summary>
        /// Prints the debug message T[] to the console.
        /// </summary>
        /// <param name="array">Array of debug values.</param>
        /// <typeparam name="T">Type of the array</typeparam>
        public void Log <T>(T[] array)
        {
            Console.WriteLine($"Debug {this.LogCount++}:");

            GeneralTools.PrintArray <T>(array);
        }