diff --git a/src/multistream.ts b/src/multistream.ts index 3eb670f500..7d3391417a 100644 --- a/src/multistream.ts +++ b/src/multistream.ts @@ -13,6 +13,9 @@ import type { Source } from 'it-stream-types' import type { Reader } from 'it-reader' import type { MultistreamSelectInit } from '.' import { MAX_PROTOCOL_LENGTH } from './constants.js' +import { logger } from '@libp2p/logger' + +const log = logger('libp2p:mss') const NewLine = uint8ArrayFromString('\n') @@ -83,6 +86,7 @@ export async function read (reader: Reader, options?: AbortOptions): Promise