From 6972a5e1aa691cb87eacf24eb7f14734b7834c7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 6 Jan 2016 20:09:49 +0100 Subject: RustAndDust: always set log domain to RustAndDust --- core/src/ch/asynk/rustanddust/RustAndDust.java | 8 +++++--- 1 file 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) -- cgit v1.1-2-g2b99