Page MenuHomePhorge

log deprecation events in Dark Console
ClosedPublic

Authored by avivey on Aug 11 2023, 18:53.
Tags
None
Referenced Files
F3575689: D25386.1745009277.diff
Thu, Apr 17, 20:47
F3535452: D25386.1744894177.diff
Wed, Apr 16, 12:49
F3503479: D25386.1744798187.diff
Tue, Apr 15, 10:09
F3434222: D25386.1744672681.diff
Sun, Apr 13, 23:18
F3399900: D25386.1744551845.diff
Sat, Apr 12, 13:44
F3399892: D25386.1744551309.diff
Sat, Apr 12, 13:35
F3399691: D25386.1744549087.diff
Sat, Apr 12, 12:58
F3398565: D25386.1744537512.diff
Sat, Apr 12, 09:45

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