Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ocp)!: Drop \OCP\Util::writeLog #38548

Closed
wants to merge 3 commits into from

Conversation

ChristophWurst
Copy link
Member

@ChristophWurst ChristophWurst commented May 31, 2023

Summary

The method was deprecated in Nextcloud 13, released 2018-02-06.

TODO

Checklist

Copy link
Member

@CarlSchwan CarlSchwan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh nice one less way to write logs :)

Copy link
Member

@solracsf solracsf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve (this has been logged).

@ChristophWurst ChristophWurst added 4. to release Ready to be released and/or waiting for tests to finish pending documentation This pull request needs an associated documentation update and removed 3. to review Waiting for reviews labels May 31, 2023
Copy link
Contributor

@susnux susnux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹

@ChristophWurst ChristophWurst force-pushed the chore/ocp/drop-until-writelog branch from 721f9ee to 33f8c86 Compare May 31, 2023 17:18
@ChristophWurst
Copy link
Member Author

Fixed unused imports. Should be fine now.

@@ -529,7 +530,7 @@ public function tagAs($objid, $tag) {
if (is_string($tag) && !is_numeric($tag)) {
$tag = trim($tag);
if ($tag === '') {
\OCP\Util::writeLog('core', __METHOD__.', Cannot add an empty tag', ILogger::DEBUG);
logger('core')->debug(__METHOD__.', Cannot add an empty tag');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$this->logger is also available ;)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥲

@ChristophWurst ChristophWurst force-pushed the chore/ocp/drop-until-writelog branch from 33f8c86 to b915825 Compare June 1, 2023 16:34
@szaimen szaimen force-pushed the chore/ocp/drop-until-writelog branch from b915825 to d995f11 Compare June 12, 2023 07:43
@szaimen szaimen enabled auto-merge June 12, 2023 07:44
@ChristophWurst ChristophWurst force-pushed the chore/ocp/drop-until-writelog branch from d995f11 to 46cfd66 Compare July 24, 2023 12:02
@ChristophWurst ChristophWurst force-pushed the chore/ocp/drop-until-writelog branch from 46cfd66 to 0dd616f Compare September 5, 2023 14:09
@ChristophWurst ChristophWurst force-pushed the chore/ocp/drop-until-writelog branch from 64318fe to e2faf6d Compare September 18, 2023 19:21
@skjnldsv skjnldsv mentioned this pull request Nov 1, 2023
This was referenced Nov 6, 2023
@skjnldsv skjnldsv added 2. developing Work in progress and removed 4. to release Ready to be released and/or waiting for tests to finish labels Feb 23, 2024
@skjnldsv skjnldsv disabled auto-merge February 23, 2024 14:03
@skjnldsv
Copy link
Member

Superseded by #40565

@skjnldsv skjnldsv closed this Feb 23, 2024
@skjnldsv skjnldsv deleted the chore/ocp/drop-until-writelog branch February 23, 2024 14:12
@skjnldsv skjnldsv removed this from the Nextcloud 29 milestone Feb 23, 2024
@ChristophWurst ChristophWurst removed the pending documentation This pull request needs an associated documentation update label Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

7 participants