Using react-native-logs in a regular 'react' web app?
robertlight opened this issue · comments
Can I use react-native-logs in a plain 'react' based web application?
If not, what suggestions are there for log4j-like logging frameworks that would work.
Many thanks,
- Bob
Yes you can. Despite the name, there is no React native specific code. It's a plain JavaScript library.
Sure, the library is intentionally written without dependencies on any platform to work seamlessly with Expo and React Native Web. Therefore, it works perfectly across the entire JavaScript ecosystem. However, outside of React Native, there are also other very valid logging libraries. This is why the choice of this specific name.