{"id":26452972,"url":"https://github.com/odemolliens/react-native-logging-tools","last_synced_at":"2026-04-04T12:57:44.814Z","repository":{"id":40371905,"uuid":"242703461","full_name":"odemolliens/react-native-logging-tools","owner":"odemolliens","description":"Library which provides some tools to help logging and handle crashes","archived":false,"fork":false,"pushed_at":"2024-09-06T10:21:56.000Z","size":1382,"stargazers_count":14,"open_issues_count":17,"forks_count":1,"subscribers_count":5,"default_branch":"develop","last_synced_at":"2026-01-02T10:56:01.321Z","etag":null,"topics":["adobe","android","crashlytics","firebase","instabug","ios","log","logging","logging-library","react-native","sentry","tealium"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/odemolliens.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-02-24T10:09:49.000Z","updated_at":"2023-07-13T23:24:25.000Z","dependencies_parsed_at":"2023-02-05T03:16:36.012Z","dependency_job_id":null,"html_url":"https://github.com/odemolliens/react-native-logging-tools","commit_stats":null,"previous_names":["imranmnts/react-native-logging-tools"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/odemolliens/react-native-logging-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odemolliens%2Freact-native-logging-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odemolliens%2Freact-native-logging-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odemolliens%2Freact-native-logging-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odemolliens%2Freact-native-logging-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/odemolliens","download_url":"https://codeload.github.com/odemolliens/react-native-logging-tools/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odemolliens%2Freact-native-logging-tools/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31400460,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["adobe","android","crashlytics","firebase","instabug","ios","log","logging","logging-library","react-native","sentry","tealium"],"created_at":"2025-03-18T18:41:01.351Z","updated_at":"2026-04-04T12:57:44.797Z","avatar_url":"https://github.com/odemolliens.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/imranMnts/react-native-logging-tools.svg?branch=develop)](https://travis-ci.org/imranMnts/react-native-logging-tools)\n![npm](https://img.shields.io/npm/v/react-native-logging-tools.svg)\n![GitHub](https://img.shields.io/github/license/imranMnts/react-native-logging-tools.svg)\n\n# React Native Logging Tools\n\nA react native module that lets you:\n - Connect your app to reactotron easily\n - Send logs to multiple services in one time\n - Send crash/error reports to multiple services in one time\n - Register a global error handler which will capture fatal JS exceptions and send a report to your crash reporter libraries\n - Can be plugged to Flipper to display all events sent to different service.\n\nand all this, as easily as possible\n\n- [Getting started](#getting-started)\n- [Status of supported libraries](#status-of-supported-libraries)\n- [Usage](#usage)\n    - [Imports](#imports)\n    - [Initialization](#initialization)\n    - [Features](#features)\n        - [Loggers](#loggers)\n            - [Debug Events](#debug-events)\n            - [Error Events](#error-events)\n        - [Reactotron](#reactotron)\n        - [JS Error handler](#js-error-handler)\n        - [Flipper](#flipper)\n\n---\n\n## Getting started\n\n`$ yarn add react-native-logging-tools`\n\nor\n\n`$ npm install react-native-logging-tools`\n\n---\n\n## Status of supported libraries\n\n|Library             |Supported        |Supported versions\n|----------------|-------------|-------------|\n|@react-native-firebase/analytics|:white_check_mark:| \\\u003e= 6.0.0\n|@react-native-firebase/crashlytics|:white_check_mark:| \\\u003e= 6.0.0\n|@sentry/react-native|:white_check_mark:| \\\u003e= 1.3.0\n|instabug-reactnative|:white_check_mark:| \\\u003e= 9.0.0\n|@adobe/react-native-acpanalytics|:white_check_mark:| \\\u003e= 1.1.6\n|@adobe/react-native-acpcore|:white_check_mark:| \\\u003e= 1.2.4\n|tealium-react-native|:white_check_mark:| \\\u003e= 2.0.2\n\n---\n\n## Usage\n\n### Imports\n\nTo start, you have to import methods from `react-native-logging-tools` which will be used.\n```javascript\nimport {\n  init,\n  createFirebaseLogger,\n  createCrashlyticsLogger,\n  createSentryLogger,\n  createTealiumLogger,\n  createAdobeLogger,\n  setupReactotron,\n  logEvent,\n} from 'react-native-logging-tools';\n```\n\nAnd the others external libraries to plug to `react-native-logging-tools`\n```javascript\nimport Reactotron from 'reactotron-react-native';\nimport { reactotronRedux } from 'reactotron-redux';\nimport Instabug from 'instabug-reactnative';\nimport analytics from '@react-native-firebase/analytics';\nimport crashlytics from '@react-native-firebase/crashlytics';\nimport * as Sentry from \"@sentry/react-native\";\nimport AsyncStorage from '@react-native-community/async-storage';\nimport { ACPCore } from '@adobe/react-native-acpcore';\nimport { addPlugin } from 'react-native-flipper';\n```\n\n### Initialization\n\nBefore any call to `react-native-logging-tools`'s features, you have to initialize it (eg. in your `App.ts` or `store.ts`)\n\n```javascript\ninit({\n  config: {\n    reportJSErrors: !__DEV__,\n  },\n  analytics: [createFirebaseLogger(analytics())],\n  errorReporters: [createCrashlyticsLogger(crashlytics())],\n});\n```\n\n:information_source: Documentation and example about initialization steps can be found [here](./REFERENCE_API.md#init).\n\n### Features\n\n#### Loggers\n\n##### Debug Events\n\nYou can call this function where do you want/need to send logs to each plugged libraries to `analytics` during the initialization step\n\n```javascript\nlogEvent('EVENT_NAME', { your_key: 'value', ... });\nlogDebugEvent('EVENT_NAME', { your_key: 'value', ... });\nlogWarningEvent('EVENT_NAME', { your_key: 'value', ... });\nlogNetworkEvent('EVENT_NAME', { your_key: 'value', ... });\nlogErrorEvent('EVENT_NAME', { your_key: 'value', ... });\n```\n\n:information_source: Documentation and example about logging event can be found [here](./REFERENCE_API.md#logEvent).\n\nIf you use `react-navigation` and you want send to analytics navigation events e.g, you can add `logEvent` to his event handler [(React-navigation docs)](https://reactnavigation.org/docs/navigation-events/)\n\n\n##### Error Events\n\nYou can call this function where do you want/need to send logs to each plugged libraries to `errorReporters` during the initialization step\n\n```javascript\nrecordError('EVENT_NAME', { your_key: 'value', ... });\n```\n\n:information_source: Documentation and example about error reporting can be found [here](./REFERENCE_API.md#recordError).\n\n#### Reactotron\n\n:information_source: Documentation and example about Reactotron can be found [here](./REFERENCE_API.md#setupreactotron).\n\n#### JS Error handler\n\n:information_source: Documentation and example about Reactotron can be found [here](./REFERENCE_API.md#init).\n\n#### Flipper\n\n:information_source: Documentation about Flipper can be found [here](./REFERENCE_API.md#flipper).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fodemolliens%2Freact-native-logging-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fodemolliens%2Freact-native-logging-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fodemolliens%2Freact-native-logging-tools/lists"}