Changed how logging is called

This commit is contained in:
Obique PSWG
2017-02-27 08:57:39 -06:00
parent 39ad298777
commit ef7c5d2209
114 changed files with 601 additions and 551 deletions
@@ -107,7 +107,7 @@ public final class SkillTemplateService extends Service {
String[] templates = skillTemplates.get(profession);
if (templates == null) {
Log.w(this, "%s tried to level up to %d with invalid profession %s", creatureObject, level, profession);
Log.w("%s tried to level up to %d with invalid profession %s", creatureObject, level, profession);
return;
}
@@ -235,7 +235,7 @@ public final class SkillTemplateService extends Service {
new GrantBadgeIntent(creature, "new_prof_crafting_droidengineer_master").broadcast();
break;
default:
Log.e(this, "%s could not be granted a mastery badge because their profession %s is unrecognised", creature, profession);
Log.e("%s could not be granted a mastery badge because their profession %s is unrecognised", creature, profession);
break;
}
}