feat: log info about rb recording session
This commit is contained in:
@@ -16,3 +16,11 @@ import logger from "../logger";
|
|||||||
|
|
||||||
export const router = Router();
|
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
|
||||||
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user