Varargified log calls.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5697 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -357,7 +357,7 @@ public class DObject
|
||||
// clear the lock from the list
|
||||
if (ListUtil.clear(_locks, name) == null) {
|
||||
// complain if we didn't find the lock
|
||||
log.info("Unable to clear non-existent lock [lock=" + name + ", dobj=" + this + "].");
|
||||
log.info("Unable to clear non-existent lock", "lock", name, "dobj", this);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -438,8 +438,8 @@ public class DObject
|
||||
}
|
||||
|
||||
} catch (Exception e) {
|
||||
log.warning("Listener choked during notification [list=" + listener +
|
||||
", event=" + event + "].", e);
|
||||
log.warning("Listener choked during notification", "list", listener,
|
||||
"event", event, e);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -551,8 +551,8 @@ public class DObject
|
||||
_omgr.postEvent(event);
|
||||
|
||||
} else {
|
||||
log.info("Dropping event for non- or no longer managed object [oid=" + getOid() +
|
||||
", class=" + getClass().getName() + ", event=" + event + "].");
|
||||
log.info("Dropping event for non- or no longer managed object", "oid", getOid(),
|
||||
"class", getClass().getName(), "event", event);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -91,7 +91,7 @@ public class EntryRemovedEvent<T extends DSet.Entry> extends NamedEvent
|
||||
_oldEntry = set.removeKey(_key);
|
||||
if (_oldEntry == null) {
|
||||
// complain if there was actually nothing there
|
||||
log.warning("No matching entry to remove [key=" + _key + ", set=" + set + "].");
|
||||
log.warning("No matching entry to remove", "key", _key, "set", set);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -110,7 +110,7 @@ public class EntryUpdatedEvent<T extends DSet.Entry> extends NamedEvent
|
||||
_oldEntry = set.update(_entry);
|
||||
if (_oldEntry == null) {
|
||||
// complain if we didn't update anything
|
||||
log.warning("No matching entry to update [entry=" + this + ", set=" + set + "].");
|
||||
log.warning("No matching entry to update", "entry", this, "set", set);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user