Skip to content

Refactor OC\Server::getLogger - #40145

Closed
summersab wants to merge 1 commit into
nextcloud:masterfrom
summersab:refactor/OC-Server-getLogger
Closed

Refactor OC\Server::getLogger#40145
summersab wants to merge 1 commit into
nextcloud:masterfrom
summersab:refactor/OC-Server-getLogger

Conversation

@summersab

Copy link
Copy Markdown
Contributor

This PR refactors the deprecated method OC\Server::getLogger and replaces it with OC\Server::get(\Psr\Log\LoggerInterface::class) throughout the entire NC codebase (excluding ./apps and ./3rdparty).

Additionally, where necessary, the Psr\Log\LoggerInterface class is imported via the use directive.

Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
@summersab
summersabforce-pushed the refactor/OC-Server-getLogger branch from 77f5804 to 40641a3CompareAugust 30, 2023 02:31
@solracsfsolracsf added the 3. to review Waiting for reviews label Aug 30, 2023
@solracsfsolracsf added this to the Nextcloud 28 milestone Aug 30, 2023
@skjnldsvskjnldsv mentioned this pull request Nov 1, 2023
This was referenced Nov 6, 2023
This was referenced Nov 14, 2023
@blizzzblizzz modified the milestones: Nextcloud 28, Nextcloud 29Nov 23, 2023
@skjnldsvskjnldsv added the technical debt 🧱 🤔🚀 label Feb 23, 2024
This was referenced Mar 12, 2024
This was referenced Mar 20, 2024
@skjnldsvskjnldsv mentioned this pull request Mar 28, 2024
81 tasks
@skjnldsv

Copy link
Copy Markdown
Member

Too much conflicts, closing until this is done again freshly

@skjnldsvskjnldsv removed this from the Nextcloud 30 milestone Aug 14, 2024
janLo added a commit to janLo/drawio-nextcloud that referenced this pull request Mar 4, 2025
This replaces the long deprecated and now removed ILogger with
LoggerInterface as done in
nextcloud/server#40145.
This fixesjgraph#90
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewstechnical debt🧱 🤔🚀

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@summersab@skjnldsv@blizzz@solracsf