From d848c94804918138375041a9f800f401bec12068 Mon Sep 17 00:00:00 2001 From: Mauro Porras P Date: Thu, 22 Jun 2017 13:38:34 -0500 Subject: [PATCH] Add React Native aliases for logs (#5756) --- plugins/react-native/README.md | 3 +++ plugins/react-native/react-native.plugin.zsh | 3 +++ 2 files changed, 6 insertions(+) diff --git a/plugins/react-native/README.md b/plugins/react-native/README.md index c6fe396b8..980246cf1 100644 --- a/plugins/react-native/README.md +++ b/plugins/react-native/README.md @@ -24,3 +24,6 @@ plugins=(... react-native) | **rnios5s** | `react-native run-ios --simulator "iPhone 5s"` | | **rnios6** | `react-native run-ios --simulator "iPhone 6"` | | **rnios6s** | `react-native run-ios --simulator "iPhone 6s"` | +| _Logging_ | +| **rnland** | `react-native log-android` | +| **rnlios** | `react-native log-ios` | diff --git a/plugins/react-native/react-native.plugin.zsh b/plugins/react-native/react-native.plugin.zsh index 892a31fbe..0566941a1 100644 --- a/plugins/react-native/react-native.plugin.zsh +++ b/plugins/react-native/react-native.plugin.zsh @@ -9,3 +9,6 @@ alias rnios5='react-native run-ios --simulator "iPhone 5"' alias rnios5s='react-native run-ios --simulator "iPhone 5s"' alias rnios6='react-native run-ios --simulator "iPhone 6"' alias rnios6s='react-native run-ios --simulator "iPhone 6s"' + +alias rnland='react-native log-android' +alias rnlios='react-native log-ios'