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

quill 4.5.0 #175692

Merged
merged 2 commits into from
Jun 26, 2024
Merged

quill 4.5.0 #175692

merged 2 commits into from
Jun 26, 2024

Conversation

BrewTestBot
Copy link
Member

Created by brew bump


Created with brew bump-formula-pr.

release notes
- The backend now automatically sanitizes non-printable characters in log messages by converting them to their hexadecimal representation. This feature ensures logs contain only safe, readable characters. You can customize or disable this feature through the `BackendOptions` by modifying the `check_printable_char` callback.
std::function<bool(char c)> check_printable_char = [](char c) { return c >= ' ' && c <= '~'; };
  • Added StringRef, a utility class for passing string arguments by reference without copying. Suitable for string literals or immutable strings with a guaranteed persistent lifetime. For example

    #include "quill/StringRef.h"
    
    static constexpr std::string_view sv {"string_view"};
    LOG_INFO(logger, "{} {}", quill::utility::StringRef{sv}, quill::utility::StringRef{"string_literal"});
  • Renamed write_log_message to write_log in Sink. The formatted log_message and process_id are now also provided. This enhancement supports use cases where the formatted log_statement passed to the Sink can be ignored and overwritten with a custom format, allowing a single Logger to output different formats to various Sinks (#476)

  • Fixed a bug in JSON logging where previously cached named arguments could erroneously append to subsequent log statements. (#482)

@github-actions github-actions bot added the bump-formula-pr PR was created using `brew bump-formula-pr` label Jun 26, 2024
Copy link
Contributor

🤖 An automated task has requested bottles to be published to this PR.

@github-actions github-actions bot added the CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. label Jun 26, 2024
@BrewTestBot BrewTestBot added this pull request to the merge queue Jun 26, 2024
Merged via the queue into master with commit a6ab5a7 Jun 26, 2024
14 checks passed
@BrewTestBot BrewTestBot deleted the bump-quill-4.5.0 branch June 26, 2024 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bump-formula-pr PR was created using `brew bump-formula-pr` CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants