Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Rename `monodroid` logcat tags to `dotnet`

Đang mở
#13,115 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
android, cpp, csharp
Lĩnh vực
mobile, observability

Hướng nghiên cứu

Start with the category tag constants in src/native/clr/include/constants.hh and the category-to-tag selection in src/native/clr/shared/log_functions.cc, then find the managed logging call sites under src/Mono.Android/Android.Runtime/ and src/Mono.Android/Microsoft.Android.Runtime/. Done means every monodroid and monodroid-* tag is renamed to dotnet / dotnet-* on both CoreCLR and NativeAOT, with log levels and filtering unchanged, and the docs and tests that reference the old tags are updated.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

needs-triage
Android framework version

All supported .NET for Android target frameworks.

Affected platform version

N/A — this is a runtime logging naming cleanup, not a version-specific failure.

Description

Rename the legacy monodroid logcat tag to dotnet to match the current .NET for Android product and runtime naming.

Apply the naming consistently across managed and native logging, including category-specific tags such as monodroid-assembly, monodroid-gc, monodroid-timing, and monodroid-network (for example, dotnet-assembly and dotnet-gc). Audit other monodroid-* tags and case variants for consistency.

Relevant implementation locations include:

  • src/native/clr/include/constants.hh: native logcat category names.
  • src/native/clr/shared/log_functions.cc: native category-to-tag selection.
  • src/Mono.Android/Android.Runtime/ and src/Mono.Android/Microsoft.Android.Runtime/: managed logging call sites.

Preserve existing log levels, category filtering, and message contents. Update related documentation, logcat filters, scripts, and tests that depend on the old tags, and document the change for users with existing filters. Cover both CoreCLR and NativeAOT.

This request concerns logging tags only; native entry points, library names, and error codes are not part of the rename.

Steps to Reproduce
  1. Enable runtime logging, for example with adb shell setprop debug.dotnet.log default,assembly,gc.
  2. Launch a .NET for Android application.
  3. Inspect logcat output and observe legacy tags such as monodroid and monodroid-assembly.

Expected: the corresponding tags use dotnet and dotnet-*.

Did you find any workaround?

Continue filtering on the existing monodroid tags until the rename is implemented.

Relevant log output

N/A — no application log capture is attached; the existing tag names are defined in the source locations above.

Ngôn ngữ chính
C#
Star
2.1k
Fork
581
Merge trung bình
2 ngày 6 phút
Pull request đã merge (30 ngày)
245

Chuẩn bị môi trường

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của dotnet/android

Tất cả issue của dotnet/android

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.