()
| 224 | } |
| 225 | |
| 226 | function _getBufferMap(): WeakMap<Client, Array<SerializedLog>> { |
| 227 | // The reference to the Client <> LogBuffer map is stored on the carrier to ensure it's always the same |
| 228 | return getGlobalSingleton('clientToLogBufferMap', () => new WeakMap<Client, Array<SerializedLog>>()); |
| 229 | } |
| 230 | |
| 231 | /** |
| 232 | * Sanitizes serialized log attributes by replacing lone surrogates in both |
no test coverage detected