Skip to content

Commit 8cb21bc

Browse files
committed
fix flags for browser client
1 parent 0757de1 commit 8cb21bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/browser/src/client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,14 @@ export class BrowserClient extends Client<BrowserClientOptions> {
9494
if (sendClientReports) {
9595
this._flushOutcomes();
9696
}
97-
if (enableLogs) {
97+
if (shouldEnableLogs) {
9898
_INTERNAL_flushLogsBuffer(this);
9999
}
100100
}
101101
});
102102
}
103103

104-
if (enableLogs) {
104+
if (shouldEnableLogs) {
105105
this.on('flush', () => {
106106
_INTERNAL_flushLogsBuffer(this);
107107
});

0 commit comments

Comments
 (0)