chore(ocp)!: Drop \OCP\Util::writeLog - #38548
Closed
ChristophWurst wants to merge 3 commits into
Closed
Conversation
ChristophWurst
requested review from
CarlSchwan,
JohannesGGE,
blizzz,
solracsf and
susnux
May 31, 2023 12:46
CarlSchwan
approved these changes
May 31, 2023
CarlSchwan
left a comment
Member
There was a problem hiding this comment.
Oh nice one less way to write logs :)
solracsf
approved these changes
May 31, 2023
solracsf
left a comment
Member
There was a problem hiding this comment.
Approve (this has been logged).
ChristophWurst
force-pushed
the
chore/ocp/drop-until-writelog
branch
from
May 31, 2023 17:18
721f9ee to
33f8c86
Compare
Member
Author
|
Fixed unused imports. Should be fine now. |
kesselb
reviewed
May 31, 2023
| $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'); |
Contributor
There was a problem hiding this comment.
$this->logger is also available ;)
rullzer
approved these changes
Jun 1, 2023
ChristophWurst
force-pushed
the
chore/ocp/drop-until-writelog
branch
from
June 1, 2023 16:34
33f8c86 to
b915825
Compare
szaimen
force-pushed
the
chore/ocp/drop-until-writelog
branch
from
June 12, 2023 07:43
b915825 to
d995f11
Compare
szaimen
enabled auto-merge
June 12, 2023 07:44
ChristophWurst
force-pushed
the
chore/ocp/drop-until-writelog
branch
from
July 24, 2023 12:02
d995f11 to
46cfd66
Compare
ChristophWurst
force-pushed
the
chore/ocp/drop-until-writelog
branch
from
September 5, 2023 14:09
46cfd66 to
0dd616f
Compare
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
ChristophWurst
force-pushed
the
chore/ocp/drop-until-writelog
branch
from
September 18, 2023 19:21
64318fe to
e2faf6d
Compare
Merged
skjnldsv
disabled auto-merge
February 23, 2024 14:03
Member
|
Superseded by #40565 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The method was deprecated in Nextcloud 13, released 2018-02-06.
TODO
logger(...)https://docs.nextcloud.com/server/27/developer_manual/basics/logging.html#loggingChecklist