Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

logkitty

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

logkitty

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

  • 0.7.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.7M
increased by8.14%
Maintainers
1
Weekly downloads
 
Created

What is logkitty?

Logkitty is a tool for reading Android logcat logs. It provides a simple and efficient way to filter and display log messages from Android devices, making it easier to debug and monitor applications.

What are logkitty's main functionalities?

Basic Logcat Reading

This feature allows you to start reading logcat logs from an Android device. The code sets up a logkitty reader and starts it, printing each log entry to the console.

const { logkitty, android } = require('logkitty');
const reader = logkitty();
reader.on('entry', entry => console.log(entry));
reader.start();

Filtering Logs

This feature allows you to filter logcat logs by specific tags. The code sets up a logkitty reader with a filter to only show logs tagged with 'MyApp'.

const { logkitty, android } = require('logkitty');
const reader = logkitty({ filter: [android.filters.byTag('MyApp')] });
reader.on('entry', entry => console.log(entry));
reader.start();

Custom Log Entry Formatting

This feature allows you to customize the format of log entries. The code sets up a logkitty reader and formats each log entry to display the tag and message.

const { logkitty, android } = require('logkitty');
const reader = logkitty();
reader.on('entry', entry => console.log(`${entry.tag}: ${entry.message}`));
reader.start();

Other packages similar to logkitty

Keywords

FAQs

Package last updated on 07 Apr 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc