{"id":4483,"url":"https://github.com/JessicaYeh/react-native-native-log","last_synced_at":"2025-08-04T01:32:29.463Z","repository":{"id":38862592,"uuid":"282289451","full_name":"JessicaYeh/react-native-native-log","owner":"JessicaYeh","description":"A React Native log function that under the hood calls NSLog() on iOS and Log.i() on Android","archived":false,"fork":false,"pushed_at":"2023-01-06T12:22:30.000Z","size":4223,"stargazers_count":12,"open_issues_count":29,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-07T06:16:52.427Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/JessicaYeh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-24T18:24:24.000Z","updated_at":"2024-11-14T04:41:53.000Z","dependencies_parsed_at":"2023-02-06T02:01:14.914Z","dependency_job_id":null,"html_url":"https://github.com/JessicaYeh/react-native-native-log","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JessicaYeh/react-native-native-log","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JessicaYeh%2Freact-native-native-log","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JessicaYeh%2Freact-native-native-log/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JessicaYeh%2Freact-native-native-log/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JessicaYeh%2Freact-native-native-log/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JessicaYeh","download_url":"https://codeload.github.com/JessicaYeh/react-native-native-log/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JessicaYeh%2Freact-native-native-log/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268636389,"owners_count":24282082,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-03T02:00:12.545Z","response_time":2577,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-01-05T20:17:13.954Z","updated_at":"2025-08-04T01:32:29.117Z","avatar_url":"https://github.com/JessicaYeh.png","language":"Java","funding_links":[],"categories":["Components"],"sub_categories":["Utils \u0026 Infra"],"readme":"# react-native-native-log\n\nA React Native log function that under the hood calls NSLog() on iOS and Log.i() on Android.\n\nA potential use case for this library is to be able to read logs with an E2E UI testing tool like Appium.\n\n## Installation\n\n```sh\nnpm install react-native-native-log\n```\n\n## Usage\n\n```js\nimport NativeLog from \"react-native-native-log\";\n\n// ...\n\nNativeLog.log('hello world'); // hello world\n// or\nNativeLog.logWithTag('my-tag', 'hello world'); // [my-tag] hello world\n```\n\n## Example app\n\nTo get started with the project, run `yarn bootstrap` in the root directory to install the required dependencies for each package:\n\n```sh\nyarn bootstrap\n```\n\n### iOS\n\nTo run the example app on iOS:\n\n```sh\nyarn example ios\n```\n\nIn order to see the native logs (they won't show in the normal console log in the Metro window):\n  - Run the iOS app from example/ios/NativeLogExample.xcworkspace in Xcode and look at the log window there\n\n### Android\n\nTo run the example app on Android:\n\n```sh\nyarn example android\n```\n\nIn order to see the native logs (they won't show in the normal console log in the Metro window):\n  - run `adb logcat`\n\n## Contributing\n\nSee the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJessicaYeh%2Freact-native-native-log","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJessicaYeh%2Freact-native-native-log","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJessicaYeh%2Freact-native-native-log/lists"}