diff --git a/src/cmap/connection.ts b/src/cmap/connection.ts index 9e3a5ac23d..904709d760 100644 --- a/src/cmap/connection.ts +++ b/src/cmap/connection.ts @@ -24,7 +24,6 @@ import { MongoWriteConcernError } from '../error'; import type { ServerApi, SupportedNodeConnectionOptions } from '../mongo_client'; -import { MongoLoggableComponent, type MongoLogger, SeverityLevel } from '../mongo_logger'; import { type CancellationToken, TypedEventEmitter } from '../mongo_types'; import type { ReadPreferenceLike } from '../read_preference'; import { applySession, type ClientSession, updateSessionFromResponse } from '../sessions'; @@ -115,8 +114,6 @@ export interface ConnectionOptions socketTimeoutMS?: number; cancellationToken?: CancellationToken; metadata: ClientMetadata; - /** @internal */ - mongoLogger?: MongoLogger | undefined; } /** @internal */