コード例 #1
0
ファイル: JglfwApplication.java プロジェクト: moly/libgdx
 public void error(String tag, String message, Throwable exception) {
   if (logLevel >= LOG_ERROR) {
     System.err.println(tag + ": " + message);
     exception.printStackTrace(System.err);
   }
 }
コード例 #2
0
ファイル: JglfwApplication.java プロジェクト: moly/libgdx
 /**
  * Called when an uncaught exception happens in the game loop. Default implementation prints the
  * exception and calls System.exit(0).
  */
 protected void exception(Throwable ex) {
   ex.printStackTrace();
   System.exit(0);
 }
コード例 #3
0
ファイル: JglfwApplication.java プロジェクト: moly/libgdx
 public void debug(String tag, String message, Throwable exception) {
   if (logLevel >= LOG_DEBUG) {
     System.out.println(tag + ": " + message);
     exception.printStackTrace(System.out);
   }
 }