@vonage/client-sdk - v2.7.0
    Preparing search index...

    Type Alias VonageLogger

    VonageLogger:
        | VonageLoggerJS
        | { minLogLevel?: LoggingLevel; topics?: Topics[] } & Omit<
            VonageLoggerJS,
            "minLogLevel"
            | "topics",
        >

    An interface representing a client logger to be set via ClientInitConfigObject.customLoggers

    const clientA = new VonageClient({
      loggingLevel: LoggingLevel.Error
    });
    // or setup custom loggers
    const clientB = new VonageClient({
      disableInternalLogger: true,
      customLoggers: [
        {
          name: 'CustomLoggerOne',
          minLogLevel: LoggingLevel.Debug,
          topics: ['HTTP', Topics.API],
          onLog: (level, topic, message) => {
            console.log(`${level} ${topic.name} ${topic.tag} ${message}`);
          }
        },
        createVonageLogger('CustomLoggerTwo', (level, topic, message) => {
          console.log(`${level} ${topic.name} ${topic.tag} ${message}`);
        })
      ]
    });