Skip to content

feat: explicitly define logger#1427

Closed
aldy505 wants to merge 4 commits intominio:masterfrom
aldy505:feat/use-defined-logger
Closed

feat: explicitly define logger#1427
aldy505 wants to merge 4 commits intominio:masterfrom
aldy505:feat/use-defined-logger

Conversation

@aldy505
Copy link
Contributor

@aldy505 aldy505 commented Sep 19, 2025

Dear future minio-js maintainers: DO NOT USE CONSOLE AT ALL. It's painful to debug why a certain log suddenly pop up without a sensible message explaining (1) where the log came from, and (2) what caused this log to show up.

With exposing the logger as an interface to the users, they can create a prefix or identifier that this log is coming from the MinIO JS SDK.

This will definitely conflict with #1426, so please merge #1426 first.

Dear future minio-js maintainers: DO NOT USE CONSOLE AT ALL. It's painful to debug why a certain log suddenly pop up without a sensible message explaining (1) where the log came from, and (2) what caused this log to show up.

With exposing the logger as an interface to the users, they can create a prefix or identifier that this log is coming from the MinIO JS SDK.
@aldy505
Copy link
Contributor Author

aldy505 commented Nov 2, 2025

@prakashsvmx Hi, can you review this PR? Thanks

@aldy505 aldy505 closed this Dec 6, 2025
@aldy505 aldy505 deleted the feat/use-defined-logger branch December 6, 2025 03:57
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.

1 participant