diff --git a/src/starling/assets/AssetManager.hx b/src/starling/assets/AssetManager.hx index f9654ee5..8615cf16 100644 --- a/src/starling/assets/AssetManager.hx +++ b/src/starling/assets/AssetManager.hx @@ -1039,7 +1039,7 @@ class AssetManager extends EventDispatcher * default, it traces 'message' to the console. */ private function log(message:String):Void { - if (_verbose) trace("[AssetManager]", message); + if (_verbose) trace("[AssetManager] " + message); } private function getDictionaryKeys(dictionary:Map, prefix:String="", diff --git a/src/starling/core/Starling.hx b/src/starling/core/Starling.hx index 1c302a88..50c4826c 100644 --- a/src/starling/core/Starling.hx +++ b/src/starling/core/Starling.hx @@ -616,7 +616,7 @@ class Starling extends EventDispatcher nativeOverlay.addChild(textField); stop(true); - trace("[Starling]", message); + trace("[Starling] " + message); dispatchEventWith(starling.events.Event.FATAL_ERROR, false, message); } diff --git a/src/starling/rendering/BatchToken.hx b/src/starling/rendering/BatchToken.hx index 940ac12d..c54e29da 100644 --- a/src/starling/rendering/BatchToken.hx +++ b/src/starling/rendering/BatchToken.hx @@ -70,7 +70,6 @@ class BatchToken /** Creates a String representation of this instance. */ public function toString():String { - return StringUtil.format("[BatchToken batchID={0} vertexID={1} indexID={2}]", - [ batchID, vertexID, indexID ]); + return '[BatchToken batchID=$batchID vertexID=$vertexID indexID=$indexID]'; } } \ No newline at end of file