chore: don't log twice twice (#11361)
This commit is contained in:
parent
a70f4e6410
commit
853757930d
|
|
@ -18,7 +18,6 @@ import { EventEmitter } from 'events';
|
|||
import { debugMode, isUnderTest, monotonicTime } from '../../utils/utils';
|
||||
import { BrowserContext } from '../browserContext';
|
||||
import { CallMetadata, InstrumentationListener, SdkObject } from '../instrumentation';
|
||||
import { debugLogger } from '../../utils/debugLogger';
|
||||
import { commandsWithTracingSnapshots, pausesBeforeInputActions } from '../../protocol/channels';
|
||||
|
||||
const symbol = Symbol('Debugger');
|
||||
|
|
@ -67,10 +66,6 @@ export class Debugger extends EventEmitter implements InstrumentationListener {
|
|||
await this.pause(sdkObject, metadata);
|
||||
}
|
||||
|
||||
async onCallLog(sdkObject: SdkObject, metadata: CallMetadata, logName: string, message: string): Promise<void> {
|
||||
debugLogger.log(logName as any, message);
|
||||
}
|
||||
|
||||
async pause(sdkObject: SdkObject, metadata: CallMetadata) {
|
||||
if (this._muted)
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue