Page MenuHomePhorge

log deprecation events in Dark Console
ClosedPublic

Authored by avivey on Aug 11 2023, 18:53.
Tags
None
Referenced Files
F2949765: D25386.1738671385.diff
Mon, Feb 3, 12:16
F2936636: D25386.1737933268.diff
Sat, Jan 25, 23:14
F2934724: D25386.1737799575.diff
Fri, Jan 24, 10:06
F2931874: D25386.1737729129.diff
Thu, Jan 23, 14:32
F2930397: D25386.1737677271.diff
Thu, Jan 23, 00:07
F2909221: D25386.1737385846.diff
Sun, Jan 19, 15:10
F2875017: D25386.1736968302.diff
Tue, Jan 14, 19:11
F2875016: D25386.1736968301.diff
Tue, Jan 14, 19:11

Details

Summary

PhutilErrorHandler already defines "DEPRECATED" error class, but it's not used.
I plan to use it to report deprecation warnings.

With this change, they will be shown in the Dark Console and in the error logs

Ref T15554

This change on its own won't do anything, but is safe to land first.

Test Plan

With D25387, pages that have deprecation warnings are now shown, and the deprecation message is available in the dark console (and in log).

Diff Detail

Repository
rP Phorge
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

avivey requested review of this revision.Aug 11 2023, 18:53

Tested with and without D25387.

SUPER NICE \o/

This revision is now accepted and ready to land.Aug 18 2023, 09:47