Most of the official video and network did not detail the command line (the IDE integration of the easier to see) under the Logcat how to enter the first, but the specific use of detailed translation of the official website of the document.
So the record is as follows:
(1) The official website below has written
Https://developer.android.com/studio/command-line/logcat.html#Syntax
(Scientific Internet)
(2) The following summary:
Command-Line Syntax
[ADB] logcat [<option>] ... [<filter-spec>] ...
You can run Logcat as a adb command or directly in a shell prompt of your emulator or connected device. To view log output using ADB, navigate to your SDK platform-tools/directory and execute:
$ adb Logcat
You can create a shell connection to a device and execute:
$ adb shell
# Logcat
(3) Look at the red part, find the tool position
(4) Enter the directory under the command line to perform
ADB shell
Logcat
(5) Easy to use write a script, every time you click
@echo offset Adbpath=c:\users\computer\appdata\local\android\sdk\platform-%adbpath%adb Shellpause
(6) Other
LOG.D may not print out, this may be the phone setup problem, I found on the Glory model of Huawei,
You need to turn on the Log settings (enter a bunch of numbers) of the power logs, and do not know what they think.
Other specific how to use, such as a random search on a bunch, mostly similar.
The ADB logcat in Android studio is knocking here