React Native doesn't define __filename nor __dirname so do it artisanally. In addition, this helps with centralizing the configuration passed to loggers. |
||
---|---|---|
.. | ||
AudioInputPreview.js | ||
AudioOutputPreview.js | ||
DeviceSelection.js | ||
DeviceSelector.native.js | ||
DeviceSelector.web.js | ||
VideoInputPreview.js | ||
index.js |