2
0
mirror of synced 2025-02-03 01:53:43 +00:00

[js][perf] remove logging - no logger attached to perf class so was red-boxing

This commit is contained in:
Salakar 2017-05-27 15:26:14 +01:00
parent b7b4febe3f
commit 2993b9b697

View File

@ -10,17 +10,14 @@ export default class Trace {
}
start() {
this.perf.log.debug(`Starting trace for ${this.identifier}`);
FirebasePerformance.start(this.identifier);
}
stop() {
this.perf.log.debug(`Stopping trace for ${this.identifier}`);
FirebasePerformance.stop(this.identifier);
}
incrementCounter(event: string) {
this.perf.log.debug(`Incrementing counter event ${event} trace for ${this.identifier}`);
FirebasePerformance.incrementCounter(this.identifier, event);
}
}