UNPKG

react-native-nitro-screen-recorder

Version:

A library to capture screen recordings with react-native powered by NitroModules.

16 lines (15 loc) 505 B
"use strict"; export class ScreenRecorderLog { static PLUGIN = 'react-native-nitro-screen-recorder'; static log(message, ...optional) { const green = '\x1b[32m'; const reset = '\x1b[0m'; console.log(`${green}[${this.PLUGIN}]${reset} ${message}`, ...optional); } static error(message, ...optional) { const red = '\x1b[31m'; const reset = '\x1b[0m'; console.error(`${red}[${this.PLUGIN}]${reset} ${message}`, ...optional); } } //# sourceMappingURL=ScreenRecorderLog.js.map