gwtproject / gwt

GWT Open Source Project
http://www.gwtproject.org
1.53k stars 377 forks source link

Update, migrate, improve log help links #10042

Open niloc132 opened 1 week ago

niloc132 commented 1 week ago

GWT version: 2.12 and below Browser (with version): any Operating System: any


Description

GWT's TreeLogger class is used in the compiler, and in Generators and Linkers, allowing library/framework code to also meaningfully contribute to log output. Usually, calls to the logger only use the log(Type, String) overload, but technically other overloads exist, including one that can provide an isntance of com.google.gwt.core.ext.TreeLogger.HelpInfo. This class is effectively just a wrapper around a URL.

There aren't many usages of this either, and most are out of date - in fact I didn't even remember that this feature existed until I was trying to clean up other usages of com.google.gwt.util.tools.Utility (which by its package should mostly be used in other cli tools? but instead is used in linkers, HelpInfo, and other assorted places).

Existing usages:

Past releases had at least one other:

Proposed steps: