https://github.com/sagardhadke/logcat
How to use Logcat in Android Studio , Kotlin
https://github.com/sagardhadke/logcat
Last synced: about 2 months ago
JSON representation
How to use Logcat in Android Studio , Kotlin
- Host: GitHub
- URL: https://github.com/sagardhadke/logcat
- Owner: sagardhadke
- Created: 2023-07-19T08:01:05.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-19T08:12:02.000Z (almost 2 years ago)
- Last Synced: 2025-01-18T02:26:38.882Z (4 months ago)
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Logcat
How to use Logcat in Android Studio.
## Debugging All Types
To run this project, you will need to add the following environment variables to your .env file
`DEBUG:` Used for debugging messages
`INFO:` Used for general information messages
`WARN:` Used for warning messages
`ERROR:` Used for error messages
`ASSERT:` Used for critical errors that may cause the app to crash
## All Logs
Log.v
```bash
Log.v(tag, message): Logs a verbose message
```Log.d
```bash
Log.d(tag, message): Logs a debug message
```Log.i
```bash
Log.i(tag, message): Logs an informational message.
```Log.w
```bash
Log.w(tag, message): Logs a warning message,
```Log.e
```bash
Log.e(tag, message): Logs an error message,
```Log.wtf
```bash
Log.wtf(tag, message): Logs an assertion failure message
```