Skip to content

Commit

Permalink
Merge branch 'master' into production
Browse files Browse the repository at this point in the history
  • Loading branch information
wrongsahil committed May 30, 2024
2 parents 62fb958 + c69a9ba commit 46d2c10
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions common/logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,31 +7,31 @@ var Logger = {
ns: "Requestly: ",

log(...args) {
if (this.enabled) {
if (this?.enabled) {
console.log(this.ns, ...args);
}
},

error(...args) {
if (this.enabled) {
if (this?.enabled) {
console.error(this.ns, ...args);
}
},

time(...args) {
if (this.enabled) {
if (this?.enabled) {
console.time(...args);
}
},

timeEnd(...args) {
if (this.enabled) {
if (this?.enabled) {
console.timeEnd(...args);
}
},

timeLog(...args) {
if (this.enabled) {
if (this?.enabled) {
console.timeLog(...args);
}
},
Expand Down

0 comments on commit 46d2c10

Please sign in to comment.