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

Refine debug logging #530

Open
kanru opened this issue May 10, 2024 · 0 comments
Open

Refine debug logging #530

kanru opened this issue May 10, 2024 · 0 comments

Comments

@kanru
Copy link
Member

kanru commented May 10, 2024

Is your feature request related to a problem? Please describe.

The current logging for key events is a little too verbose and not easy to read.
We should redo the logging after we refactor the key event handling module.

Current

[DEBUG chewing::editor] process_keyevent: key-K49-Esc-�-
[DEBUG chewing::editor] process_keyevent: key-K32-H-h-
[DEBUG chewing::editor] process_keyevent: key-K34-K-k-
[DEBUG chewing::editor] process_keyevent: key-K4-N4-4-
[DEBUG chewing::editor] process_keyevent: key-K31-G-g-
[DEBUG chewing::editor] process_keyevent: key-K4-N4-4-
[DEBUG chewing::editor] process_keyevent: key-K52-Backspace-�-
[DEBUG chewing::editor] process_keyevent: key-K52-Backspace-�-
[DEBUG chewing::editor] process_keyevent: key-K49-Esc-�-
[DEBUG chewing::editor] process_keyevent: key-K49-Esc-�-
[DEBUG chewing::editor] process_keyevent: key-K49-Esc-�-
[INFO  chewing::editor] Set syllable editor: Standard { syllable: Syllable { value: 32768, to_string(): "" } }
[DEBUG chewing::editor] process_keyevent: key-K49-Esc-�-
[DEBUG chewing::editor] process_keyevent: key-K49-Esc-�-
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant