Skip to content

Latest commit

 

History

History
87 lines (62 loc) · 3.75 KB

README.md

File metadata and controls

87 lines (62 loc) · 3.75 KB

Android Logcat for RAD Studio

3. ToDo

About the project

When developing an Android application, it is often necessary to view system, service and other logs. RAD Studio IDE does not provide us with such a tool. Therefore, we had two options:

  1. Logcat is a command-line tool;
  2. Logcat window in Android Studio IDE.

The first option is a command line tool and it is not very convenient to analyze logs. The second option requires us to install the Android Studio IDE. And you must agree that installing Android Studio for the sake of just one Logcat window is a bit redundant.

That's why this project was born, which solves this problem - Android Logcat for RAD Studio extension. With this extension, you can analyze logs in the RAD Studio development environment almost as well as in Android Studio, without having to install the latter.

image

After installing the extension, you can find the tool in the menu: View->Tool Windows->Android Logcat

You can use the following filters:

Key Description
pid: filter by pid
package: package name contain strings
tag: log tag contains string
message: log message contains string
level: filter by min log level

Add - to a key to exclude logs with the value (such as, "-tag:").

Add ~ to use regex (such as, "tag~:" and "-tag~:").

Terms with the same key commbine with OR "tag:foo tag:bar" means "foo OR bar".

Negated terms combine with AND "-tag:foo -tag:bar" means "!foo AND !bar"

You can combine keys: -level:i -package:libc tag:native

AndroidLogcat.mp4

Depends

The project depends on two third-party libraries:

  1. SVGIconImageList
  2. VirtualTree

You can install them from GetIt - library repository in RAD Studio

ToDo

Define a limit on the number of stored messages in memory

How to install

1. Install the SVGIconImageList and VirtualTree libraries

Open Tools->GetIt Package Manager... image

Type "SVGIconImageList" into the search bar image

Click the "Install" button and follow the instructions image

Type "VirtualTree" into the search bar and click the "Install" button and follow the instructions image

2. Build and install an extension

Open the Logcat.dpk project.

In the "Projects" tool window, right-click on "Logcat.bpl" and click on "Install" in the menu that appears image

After installing the extension, you can find the tool in the menu: View->Tool Windows->Android Logcat

Bugs and Features

If you find bugs or want to add features to the project, use GitHub's "Issues" and "Pull requests" tools.

Let's make RAD Studio better! let's make the World a better place!