}\r
\r
@Override\r
+ public int getLogLevel() {\r
+ return logLevel;\r
+ }\r
+\r
+ @Override\r
public void addLifecycleListener (LifecycleListener listener) {\r
synchronized(lifecycleListeners) {\r
lifecycleListeners.add(listener);\r
}
@Override
+ public int getLogLevel() {
+ return logLevel;
+ }
+
+ @Override
public void addLifecycleListener (LifecycleListener listener) {
synchronized (lifecycleListeners) {
lifecycleListeners.add(listener);
}\r
\r
@Override\r
+ public int getLogLevel() {\r
+ return logLevel;\r
+ }\r
+\r
+ @Override\r
public void exit () {\r
// no-op\r
}\r
-/*******************************************************************************\r
- * Copyright 2011 See AUTHORS file.\r
- * \r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- * \r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- * \r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
+/*******************************************************************************
+ * Copyright 2011 See AUTHORS file.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
******************************************************************************/
package com.badlogic.gdx.backends.jglfw;
this.logLevel = logLevel;
}
+ @Override
+ public int getLogLevel() {
+ return logLevel;
+ }
+
public void debug (String tag, String message) {
if (logLevel >= LOG_DEBUG) {
System.out.println(tag + ": " + message);
}
@Override
+ public int getLogLevel() {
+ return logLevel;
+ }
+
+ @Override
public void exit () {
postRunnable(new Runnable() {
@Override
}\r
\r
@Override\r
+ public int getLogLevel() {\r
+ return logLevel;\r
+ }\r
+\r
+ @Override\r
public void exit () {\r
postRunnable(new Runnable() {\r
@Override\r
}\r
\r
@Override\r
+ public int getLogLevel() {\r
+ return logLevel;\r
+ }\r
+\r
+ @Override\r
public void exit () {\r
postRunnable(new Runnable() {\r
@Override\r
-/*******************************************************************************\r
- * Copyright 2011 See AUTHORS file.\r
- * \r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- * \r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- * \r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
+/*******************************************************************************
+ * Copyright 2011 See AUTHORS file.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
******************************************************************************/
package com.badlogic.gdx.backends.iosrobovm;
}
@Override
+ public int getLogLevel() {
+ return logLevel;
+ }
+
+ @Override
public ApplicationType getType () {
return ApplicationType.iOS;
}
}
@Override
+ public int getLogLevel() {
+ return logLevel;
+ }
+
+ @Override
public ApplicationType getType () {
return ApplicationType.WebGL;
}
* @param logLevel {@link #LOG_NONE}, {@link #LOG_ERROR}, {@link #LOG_INFO}, {@link #LOG_DEBUG}. */\r
public void setLogLevel (int logLevel);\r
\r
+ /** Gets the log level. */\r
+ public int getLogLevel();\r
+\r
/** @return what {@link ApplicationType} this application has, e.g. Android or Desktop */\r
public ApplicationType getType ();\r
\r