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

deprecate(log): deprecate internal utility methods #4436

Merged
merged 4 commits into from Apr 10, 2024

Conversation

timreichen
Copy link
Contributor

Ref: #4392 (comment)

Changes

  • Deprecates BaseHandler.log() and introduces private BaseHandler.#log()
  • Deprecates ConsoleHandler.applyColors() and introduces private ConsoleHandler.#applyColors()
  • Deprecates FileHandler.flush() and introduces private FileHandler.#flush()
  • Deprecates Logger.asString() and introduces private Logger.#asString()
  • Deprecates RotatingFileHandler.rotateLogFiles() and introduces private RotatingFileHandler.#rotateLogFiles()

@timreichen timreichen requested a review from kt3k as a code owner March 4, 2024 08:05
@github-actions github-actions bot added the log label Mar 4, 2024
@iuioiua
Copy link
Collaborator

iuioiua commented Apr 9, 2024

@kt3k, PTAL, including my reasons for supporting this change, linked to in the initial comment.

@kt3k kt3k changed the title refactor(log): Deprecate public methods deprecate(log): deprecate internal utility methods Apr 10, 2024
Copy link
Member

@kt3k kt3k left a comment

Choose a reason for hiding this comment

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

LGTM

@iuioiua iuioiua merged commit 42df58a into denoland:main Apr 10, 2024
13 checks passed
kt3k added a commit to kt3k/deno_std that referenced this pull request Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants