0.7.1 • Published 4 years ago

logkitty v0.7.1

Weekly downloads
470,969
License
MIT
Repository
github
Last release
4 years ago

logkitty

Version

PRs Welcome MIT License Chat Code of Conduct

Display pretty Android and iOS logs without Android Studio or Console.app, with intuitive Command Line Interface.

Demo

Installation

yarn global add logkitty

Or if you prefer having it locally:

yarn add -D logkitty
yarn logkitty --help

Usage

logkitty <platform> <command> [options]

Command line help

You can inspect available platforms, command and options for a given platform by adding -h at the end, for example:

logkitty -h # prints available platforms and global options
logkitty android -h # prints commands and options for android
logkitty android tag -h # prints tag command syntax and options for android

Commands

  • platform: android:
    • tag <tags...> - Show logs with matching tags.
    • app <appId> - Show logs from application with given identifier.
    • match <regexes...> - Show logs matching given patterns (all regexes have flags g and m).
    • custom <patterns...> - Use custom patters supported by Logcat.
    • all - Show all logs.
  • platform: ios:
    • tag <tags...> - Show logs with matching tags (where tag is usually a name of the app).
    • match <regexes...> - Show logs matching given patterns (all regexes have flags g and m).
    • all - Show all logs.

Options

  • common:
    • -h, --help - Display help
    • -v, --version - Display version
  • platform android:

    tag, app, match and all commands support additional priority filtering options (sorted by priority):

    • -U, -u - Unknown priority (lowest)
    • -v, -v - Verbose priority
    • -D, -d - Debug priority (default)
    • -I, -i - Info priority
    • -W, -w - Warn priority
    • -E, -e - Error priority
    • -F, -f - Fatal priority
    • -S, -s - Silent priority (highest)

    For example logkitty android all -W will display all logs with priority warn, error and fatal.

  • platform ios:

    tag, match and all commands support additional level filtering options:

    • -D, -d - Debug level
    • -I, -i - Info level
    • -E, -e - Error level

Examples

Show all logs with tag ReactNativeJS (and default priority - debug and above):

logkitty android tag ReactNativeJS
logkitty ios tag ReactNativeJS

Show all logs with priority info and above from application with identifier com.example.myApplication:

logkitty android app com.example.myApplication -i

Show all logs matching /CodePush/gm regex:

logkitty android match CodePush
logkitty ios match CodePush

Show all logs with priority error or fatal for Android and _error level for iOS:

logkitty android all -e
logkitty ios all -e

Show logs using custom patterns - silence all logs and display only the onces with tag my-tag and priority debug and above:

logkitty android custom *:S my-tag:D

Node API

If your building a tool and want to use Node API, head over to Node API documentation.

easy-select-rnreact-native-curbside-arrivereact-native-bluetooth2killi8n-react-native-fast-imageyarn-only-rn-clireact-native-template-rfbaseairscanairscan-examplereact-native-esc-pos-sahaab@borisovart/atol-kkt-moduledeneme323112@ntt_app/react-native-custom-notificationreact-native-custom-text-hwjamesreact-native-covid-sdkreact-native-printer-brothersrn-pdf-reader-offlinereact-native-shekhar-bridge-testwilscanner@oiti/documentoscopy-react-nativequoc-testreact-native-full-sliderreact-native-slider-kf@infinitebrahmanuniverse/nolb-logkluminos-ui-core@everything-registry/sub-chunk-2099jawwy-sdkjawwy_gamification_releasereact-native-sphereuisphereuijawwy_libraryreact-native-credit-card-pkgreact-native-jawwy_sample@assystant/firebase@aysea/react-native-ui-library@brantalikp/rn-resize@baloochat/react-native-svg-uri@cs6/react-native-test-native-view-library@con-test/react-native-concent-commoncheckbox-component@azalpacir/react-native-dhp-printerdemo-test-scrnpayutestingpnm-yph-react-native-custom-componentsdogandev-simple-toastjawwy_library_newjawy_library_v1gamification-jawwy-libraryframework_test_library_sixdee_new_jawwyreact-native-experts-sdktest_lib_module_aarraact-native-arunramya151@corelmax/react-native-my2c2p-sdk@blusalt-sdk/react-native-blusalt-document-verification@damian.lnc/core@damruravihara/react-native-testing-package@hemith/react-native-tnkrn-adyen-dropinrn-agora-ios-mrn-horizontal-listrn-my-libraryrn-pay-sdkrn-session-multiplier-demorn-check-btnrn-use-modal-hookrn-counter-demorn-circular-chartreact-native-shared-gesturereact-native-simple-timelinereact-native-native-audio-enginereact-native-multiselectorreact-native-myrenzbox-ipcsdk-libraryreact-native-native-ios-test1react-native-payu-payment-testingreact-native-my-first-try-arun-ramyareact-native-mun-kitreact-native-omental-frameworkreact-native-plugpag-wrapperreact-native-reanimated-sortable-listreact-native-radio-bic-group-libreact-native-rabbitmq-allreact-native-recent-framework-updatereact-native-return-usb-datareact-native-responsive-sizereact-native-smartcall-videodemoreact-native-sp-test-commonreact-native-scroll-tab-to-indexreact-native-sixdee_test_lib@exodus/react-native-community-cli-platform-androidreact-native-swalreact-native-teads-sdk-modulereact-native-tejab41097-sample-libraryreact-native-teknoctrl-components@exodus/cli-platform-androidrn_unique_device_idrn-keyboard-avoiding-viewrn-tm-notify@hbglobal/react-native-actions-shortcutsfawaterak-online-paymentfawatrak-online-payment@idas1/ui-component-lib
0.7.1

4 years ago

0.7.0

4 years ago

0.6.1

5 years ago

0.6.0

5 years ago

0.5.0

5 years ago

0.4.2

5 years ago

0.4.1

5 years ago

0.4.0

5 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago