@adembacajdev/react-native-logger
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

@adembacajdev/react-native-logger

React Native colorized logger

Example of loggers

Screenshot 2023-11-17 at 7 45 25 PM

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

Package Sidebar

Install

npm i @adembacajdev/react-native-logger

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

9.75 kB

Total Files

10

Last publish

Collaborators

  • adembacaj