There are just a couple of logs in this feature, and it's included in bundles like external_api, which would bloat it due to cascaded dependencis.
React Native doesn't define __filename nor __dirname so do it artisanally. In addition, this helps with centralizing the configuration passed to loggers.