HomePhorge

log deprecation events in Dark Console

Description

log deprecation events in Dark Console

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).

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: speck, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T15554

Differential Revision: https://we.phorge.it/D25386

Details

Provenance
Aviv EyalAuthored on Aug 31 2023, 8:17 AM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rPaeab4efe17cf: Generate Diviner book for Javelin
Branches
Unknown
Tags
Unknown

Event Timeline