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

chore: log dict file info and line number info when deploying warning #874

Merged
merged 3 commits into from
Jun 18, 2024

Conversation

fxliang
Copy link
Contributor

@fxliang fxliang commented May 13, 2024

Pull request

Issue tracker

Fixes will automatically close the related issue

Fixes #873 rime/home#1553

Feature

Describe feature of pull request

Unit test

  • Done

Manual test

  • Done

Code Review

  1. Unit and manual test pass
  2. GitHub Action CI pass
  3. At least one contributor reviews and votes
  4. Can be merged clean without conflicts
  5. PR will be merged by rebase upstream base

Additional Info

@fxliang fxliang requested review from lotem and ksqsf May 13, 2024 09:50
src/rime/dict/entry_collector.cc Outdated Show resolved Hide resolved
src/rime/dict/entry_collector.cc Outdated Show resolved Hide resolved
src/rime/dict/entry_collector.h Outdated Show resolved Hide resolved
@@ -56,6 +56,8 @@ void EntryCollector::LoadPresetVocabulary(DictSettings* settings) {

void EntryCollector::Collect(const path& dict_file) {
LOG(INFO) << "collecting entries from " << dict_file;
current_dict_file = dict_file.string();
Copy link
Member

Choose a reason for hiding this comment

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

can these be local variables?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

seems not

@fxliang fxliang requested a review from lotem May 13, 2024 11:47
Copy link
Member

@lotem lotem left a comment

Choose a reason for hiding this comment

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

Thanks, LGTM

@eagleoflqj eagleoflqj merged commit 1e14721 into rime:master Jun 18, 2024
10 checks passed
@fxliang fxliang deleted the info branch June 18, 2024 12:11
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.

小狼毫 日志
3 participants