Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Commit

Permalink
Remove verbose log messages.
Browse files Browse the repository at this point in the history
When testing harp.gl the console is full of diagnostic messages
coming from DomImageUtils and RenderingTestResultReporter. These
messages are too many and they make it difficult to spot other
error messages.

Signed-off-by: Roberto Raggi <roberto.raggi@here.com>
  • Loading branch information
robertoraggi committed Jun 24, 2020
1 parent f4c39c9 commit 2181b39
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion @here/harp-test-utils/lib/rendering/DomImageUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ export function loadImageData(url: string): Promise<ImageData> {
new THREE.ImageLoader().load(
url,
image => {
logger.info(`#loadImageData loaded: ${url}, size=${image.width},${image.height}`);
const canvas = document.createElement("canvas");
canvas.width = image.width;
canvas.height = image.height;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ export class RenderingTestResultReporter {
_referenceImage?: ImageData, // server already has reference image
comparisonResult?: ImageComparisonResult
) {
logger.log("reporting test result", imageProps);

const url = `${this.backendUrl}/ibct-feedback`;
const payload: ImageTestResultRequest = {
imageProps,
Expand Down

0 comments on commit 2181b39

Please sign in to comment.