package com.kehxstudios.atlas.tools;

import com.badlogic.gdx.Gdx;

/**
 * Basic debugging tool to log messages to console on any platform
 */

public class DebugTool {

    // Start of line text
    public static String title = "Debug";

    // Print a single string to console
    public static void log(String message) {
        Gdx.app.error(title, message);
    }

    // Prints two strings to console
    public static void log(String message1, String message2) {
        Gdx.app.error(title +" - "+ message1, message2);
    }
}

@@ -201,29 +201,30 @@
  text%0D%0A    p
-ublic
+rivate
  static Stri
@@ -240,16 +240,19 @@
 = %22Debug
+ %3E 
 %22;%0D%0A%0D%0A  
@@ -348,29 +348,14 @@
     
-Gdx.app.error(title, 
+print(
 mess
@@ -368,18 +368,21 @@
 %0A    %7D%0D%0A
+   
 %0D%0A
-
     // P
@@ -483,16 +483,425 @@
         
+print(message1 + %22, %22 + message2);%0D%0A    %7D%0D%0A    %0D%0A    // Prints an array of strings to console%0D%0A    public static void log(String%5B%5D messages) %7B%0D%0A        String finalMessage = %22%22;%0D%0A        for (String message : messages) %7B%0D%0A            finalMessage += %22, %22 + message;%0D%0A        %7D%0D%0A        print(finalMessage);%0D%0A    %7D%0D%0A    %0D%0A    // Prints the title with message%0D%0A    private void print(String message) %7B%0D%0A        
 Gdx.app.
@@ -915,25 +915,8 @@
 itle
- +%22 - %22+ message1
 , me
@@ -912,31 +912,33 @@
 r(title, message
-2
 );
+   
 %0D%0A    %7D%0D%0A%7D%0D%0A

Update DebugTool.java