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

Properly use Logger #416

Merged
merged 1 commit into from
Jan 21, 2024
Merged

Properly use Logger #416

merged 1 commit into from
Jan 21, 2024

Conversation

Aaron2550
Copy link
Contributor

Closes #394

I didnt touch Console.WriteLine, and Obsidian/Obsidian/Net/MinecraftStream.Writing.cs because it uses Globals.PacketLogger, which doesnt exist. I did do comments with Globals.PacketLogger, because someone might copy/paste from those. IDK what i was thinking.

I used a RegEx i built to find all of these "wrong" usages: Log(ger)?\.[a-zA-z]{1,16}\(\$"

@Craftplacer Craftplacer merged commit e3df216 into ObsidianMC:master Jan 21, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Properly use logger
2 participants