Co-authored-by: Calinteodor <calin.chitu@8x8.com> Co-authored-by: Robert Pintilii <robert.pin9@gmail.com>
React Native doesn't define __filename nor __dirname so do it artisanally. In addition, this helps with centralizing the configuration passed to loggers.