constructor()

in src/sinks/AgentSink.ts [82:89]


  constructor(logGroupName: string, logStreamName?: string, serializer?: ISerializer) {
    this.logGroupName = logGroupName;
    this.logStreamName = logStreamName;
    this.serializer = serializer || new LogSerializer();
    this.endpoint = parseEndpoint(Configuration.agentEndpoint);
    this.socketClient = this.getSocketClient(this.endpoint);
    LOG('Using socket client', this.socketClient.constructor.name);
  }