Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Rename `monodroid` logcat tags to `dotnet`

未关闭
#13,115 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
45/100
Issue 类型
重构
描述清晰度
基本清楚
活跃度
活跃
技术栈
android, cpp, csharp

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
C#
星标
2.1k
派生
581
平均合并
2 天 6 分钟
30 天内合并 PR
245

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

dotnet/android 的其他 Issue

查看 dotnet/android 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。