@adembacajdev/react-native-logger
v1.0.2
Published
React Native colorized logger
Downloads
50
Readme
@adembacajdev/react-native-logger
React Native colorized logger
Example of loggers
Installation
npm install @adembacajdev/react-native-logger
or if you are using Expo
npx expo install @adembacajdev/react-native-logger
Usage
import LOG from '@adembacajdev/react-native-logger';
// ...
LOG.debug('Logging debug', { type: 'debug' });
LOG.info('Logging info', { type: 'info' });
LOG.warn('Logging warn', { type: 'warn' });
LOG.error('Logging error', { type: 'error' });
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
Made with create-react-native-library