Skip to content

Commit 6abcde5

Browse files
committed
chore: log cleanup
1 parent 1128ba0 commit 6abcde5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/image/index.ios.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -255,9 +255,9 @@ export class Img extends ImageBase {
255255
const finiteWidth: boolean = widthMode === layout.EXACTLY;
256256
const finiteHeight: boolean = heightMode === layout.EXACTLY;
257257
this.mImageSourceAffectsLayout = !finiteWidth || !finiteHeight;
258-
if (Trace.isEnabled()) {
259-
CLog(CLogTypes.info, 'onMeasure', this.src, widthMeasureSpec, heightMeasureSpec, width, height, this.aspectRatio, image && image.imageOrientation);
260-
}
258+
// if (Trace.isEnabled()) {
259+
// CLog(CLogTypes.info, 'onMeasure', this.src, widthMeasureSpec, heightMeasureSpec, width, height, this.aspectRatio, image && image.imageOrientation);
260+
// }
261261
if (image || this.aspectRatio > 0) {
262262
const nativeWidth = image ? layout.toDevicePixels(image.size.width) : 0;
263263
const nativeHeight = image ? layout.toDevicePixels(image.size.height) : 0;
@@ -281,7 +281,7 @@ export class Img extends ImageBase {
281281
}
282282

283283
if (Trace.isEnabled()) {
284-
CLog(CLogTypes.info, 'onMeasure scale', this.src, this.aspectRatio, finiteWidth, finiteHeight, width, height, nativeWidth, nativeHeight, widthMeasureSpec, heightMeasureSpec);
284+
CLog(CLogTypes.info, 'onMeasure', this.src, this.aspectRatio, finiteWidth, finiteHeight, width, height, nativeWidth, nativeHeight, widthMeasureSpec, heightMeasureSpec);
285285
}
286286
}
287287
super.onMeasure(widthMeasureSpec, heightMeasureSpec);

0 commit comments

Comments
 (0)