https://github.com/annihil/react-native-log-ios
React Native iOS standalone logger
https://github.com/annihil/react-native-log-ios
ios log logger macos osx react-native
Last synced: 12 months ago
JSON representation
React Native iOS standalone logger
- Host: GitHub
- URL: https://github.com/annihil/react-native-log-ios
- Owner: Annihil
- License: mit
- Created: 2018-10-17T09:43:25.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-05-02T23:09:21.000Z (about 3 years ago)
- Last Synced: 2025-06-17T08:49:53.757Z (12 months ago)
- Topics: ios, log, logger, macos, osx, react-native
- Language: JavaScript
- Size: 17.6 KB
- Stars: 38
- Watchers: 4
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# React Native Log iOS
[](https://www.npmjs.com/package/react-native-log-ios)
[]()
This standalone script replace the broken `react-native log-ios`.
It will watch the Mac OS X system log file and filter only the lines concerning your XCode project.
You will be able to see the `console.log`, `console.warn` and `console.error` outputs.
## Installation
```
npm i -g react-native-log-ios
```
## Usage
Important: You will need to provide the **FacebookDisplayName** to the command - in some cases it is different from the Xcode project name, or the bundle name. You will find this "FacebookDisplayName" in Info.plist.
```
react-native-log-ios
```
```
react-native-log-ios --help
```
## Result
Line format is the following: `HH:mm:ss, `
```
12:02:33, Initializing (parent: , executor: (null))
12:02:33, Running application Foobar ({
initialProps = {
};
rootTag = 1;
})
12:02:33, Running application "Foobar" with appParams: {"rootTag":1,"initialProps":{}}. __DEV__ === true, development-level warning are ON, performance optimizations are OFF
12:02:39, Hello world!
```
## Versioning
React Native Log iOS uses [SemVer](http://semver.org/) for versioning.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
for details.