From 99080b45966ade9b9fa29dfa01846cdb8f9fe39e Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Sat, 8 Jun 2024 23:19:10 +0530 Subject: [PATCH] feat: log info about rb recording session --- server/src/routes/record.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/server/src/routes/record.ts b/server/src/routes/record.ts index 93e8984a..e830ef36 100644 --- a/server/src/routes/record.ts +++ b/server/src/routes/record.ts @@ -16,3 +16,11 @@ import logger from "../logger"; export const router = Router(); +/** + * Logs information about remote browser recording session. + */ +router.all('/', (req, res, next) => { + logger.log('debug',`The record API was invoked: ${req.url}`) + next() // pass control to the next handler +}) +