Strands Agents Typescript SDK
    Preparing search index...

    Function configureLogging

    • Configures the global logger.

      Allows users to inject their own logger implementation (e.g., Pino, Winston) to control logging behavior, levels, and formatting.

      Parameters

      • customLogger: Logger

        The logger implementation to use

      Returns void

      import pino from 'pino'
      import { configureLogging } from '@strands-agents/sdk'

      const logger = pino({ level: 'debug' })
      configureLogging(logger)