(_, prop)
| 1904 | function fileLogger(path: string) { |
| 1905 | return new Proxy({} as Logger, { |
| 1906 | get(_, prop) { |
| 1907 | // eslint-disable-next-line @typescript-eslint/require-await |
| 1908 | return async (...args: unknown[]) => { |
| 1909 | fileLogs.push([path, prop, ...args]); |
| 1910 | }; |
| 1911 | }, |
| 1912 | }); |
| 1913 | } |
| 1914 |