(log: Record<string, any>, event: any)
| 645 | } |
| 646 | |
| 647 | function attachConnectionFields(log: Record<string, any>, event: any) { |
| 648 | const { host, port } = HostAddress.fromString(event.address).toHostPort(); |
| 649 | log.serverHost = host; |
| 650 | log.serverPort = port; |
| 651 | |
| 652 | return log; |
| 653 | } |
| 654 | |
| 655 | function attachSDAMFields(log: Record<string, any>, sdamEvent: SDAMLoggableEvent) { |
| 656 | log.topologyId = sdamEvent.topologyId; |
no test coverage detected