`ILogger` is deprecated and will be removed
The ILogger interface is deprecated and its logging functions will be removed with Nextcloud 31.
Please migrate to the PSR LoggerInterface. The logging levels inside ILogger will remain, but we recommend to use the logging levels provided by PSR-3.
Code reference:
https://github.com/nextcloud/documentserver_community/blob/d3fbf99169857f9d8fb77bf95e29ad7339342c25/lib/Command/FlushChanges.php#L45
https://github.com/nextcloud/documentserver_community/blob/d3fbf99169857f9d8fb77bf95e29ad7339342c25/lib/Migration/RebuildFonts.php#L35
https://github.com/nextcloud/documentserver_community/blob/d3fbf99169857f9d8fb77bf95e29ad7339342c25/lib/Document/ConverterBinary.php#L33
https://github.com/nextcloud/documentserver_community/blob/d3fbf99169857f9d8fb77bf95e29ad7339342c25/lib/BackgroundJob/Cleanup.php#L50
Any PR would really be welcome as I'm not so familiar with php
Can be modeled after nextcloud/suspicious_login#931
Dependency for a v31 release.
This pr should do the job