summaryrefslogtreecommitdiffstats
path: root/core/src/ch
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-01-06 20:09:49 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-01-06 20:09:49 +0100
commit6972a5e1aa691cb87eacf24eb7f14734b7834c7b (patch)
treee6b8432b8e644369e43aa7b6c8f337b1e538d140 /core/src/ch
parentf04f6ac44bd014f15c1d4435dc1d45fc3059e6bd (diff)
downloadRustAndDust-6972a5e1aa691cb87eacf24eb7f14734b7834c7b.zip
RustAndDust-6972a5e1aa691cb87eacf24eb7f14734b7834c7b.tar.gz
RustAndDust: always set log domain to RustAndDust
Diffstat (limited to 'core/src/ch')
-rw-r--r--core/src/ch/asynk/rustanddust/RustAndDust.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/core/src/ch/asynk/rustanddust/RustAndDust.java b/core/src/ch/asynk/rustanddust/RustAndDust.java
index bcbdc43..1d8cd70 100644
--- a/core/src/ch/asynk/rustanddust/RustAndDust.java
+++ b/core/src/ch/asynk/rustanddust/RustAndDust.java
@@ -54,6 +54,8 @@ public class RustAndDust extends Game
public static final String UI_US_FLAG = "us-flag";
public static final String UI_GE_FLAG = "ge-flag";
+ public static final String DOM = "RustAndDust";
+
public AssetManager manager;
public Factory factory;
public Ctrl ctrl;
@@ -74,12 +76,12 @@ public class RustAndDust extends Game
public static void debug(String msg)
{
- debug("", msg);
+ Gdx.app.debug(DOM, msg);
}
- public static void debug(String dom, String msg)
+ public static void debug(String info, String msg)
{
- Gdx.app.debug(dom, msg);
+ Gdx.app.debug(DOM, String.format("%s : %s", info, msg));
}
public TextureAtlas.AtlasRegion getUiRegion(String s)