fix/issue-3101: fix the issue of mdc ignores SPDLOG_NO_TLS #3177
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.
Dear Spdlog author and Spdlog maintainers,
I hope this message finds you well. I have noticed issue #3101 titled "MDC ignores SPDLOG_NO_TLS" and believe I have found a solution that might address the problem described.
I have submitted a Pull Request (PR) with the following details:
● PR Title: Brief description of the changes made.
● Commit Message: Detailed explanation of the changes, including the approach taken and any tests performed.
● Related Issue: Resolves issue #3101 by implementing the aforementioned changes.
In my PR, I have made the following changes:
● [List of changes made in the PR, e.g., "Fix the issue of mdc ignores SPDLOG_NO_TLS"].
● [Any additional changes or relevant details].
Test environment and compilation steps:
OS: Ubuntu 18.04 LTS
Architecture: x86-64
Compiler: gcc 7.5.0
Test results of the original main branch code:
I have tested the solution using the example program from the spdlog library, and it proves to work correctly. If necessary, I can provide more persuasive test results later on and believe it aligns with the project's coding standards. However, I am open to any feedback or suggestions for improvement. If there are any adjustments needed, or if further clarification is required, please let me know.
Thank you for considering my contribution. I am excited about the opportunity to contribute to Spdlog and look forward to your review.
Best regards,
[Allen/Allen-20180115]