Version: 1.3.0LoggerPlaywright generates a lot of logs and they are accessible via the pluggable logger sink.const { chromium } = require('playwright'); // Or 'firefox' or 'webkit'. (async () => { const browser = await chromium.launch({ logger: { isEnabled: (name, severity) => name === 'browser', log: (name, severity, message, args) => console.log(`${name} ${message}`) } }); ...})();Copylogger.isEnabled(name, severity)logger.log(name, severity, message, args, hints)logger.isEnabled(name, severity)#name <string> logger nameseverity <"verbose"|"info"|"warning"|"error">returns: <boolean>Determines whether sink is interested in the logger with the given name and severity.logger.log(name, severity, message, args, hints)#name <string> logger nameseverity <"verbose"|"info"|"warning"|"error">message <string|Error> log message formatargs <Array<Object>> message argumentshints <Object> optional formatting hintscolor <string> preferred logger color