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

refactor(desktop): improve log message clarity and consistency #1555

Merged
merged 2 commits into from
Jan 10, 2024

Conversation

ysfscream
Copy link
Member

@ysfscream ysfscream commented Jan 10, 2024

PR Checklist

If you have any questions, you can refer to the Contributing Guide

What is the current behavior?

Please describe the current behavior and link to a relevant issue.

Issue Number

Example: #123

What is the new behavior?

image

Please describe the new behavior or provide screenshots.

Does this PR introduce a breaking change?

  • Yes
  • No

Specific Instructions

Are there any specific instructions or things that should be known before review?

Other information

@ysfscream ysfscream added enhancement New feature or request desktop MQTTX Desktop labels Jan 10, 2024
@ysfscream ysfscream added this to the v1.9.9 milestone Jan 10, 2024
@ysfscream ysfscream requested a review from Red-Asuka January 10, 2024 02:33
@ysfscream ysfscream self-assigned this Jan 10, 2024
Comment on lines +572 to +577
// this.client.on('packetsend', (packet) => {
// this.$log.debug(`Packet sent: ${JSON.stringify(packet)}`)
// })
// this.client.on('packetreceive', (packet) => {
// this.$log.debug(`Packet received: ${JSON.stringify(packet)}`)
// })
Copy link
Member Author

Choose a reason for hiding this comment

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

This is the next step, I will add log level and view some debug logs of MQTT Packet messages in the log.

@ysfscream ysfscream closed this Jan 10, 2024
@ysfscream ysfscream deleted the ysf/1.9/dev branch January 10, 2024 02:44
@ysfscream ysfscream reopened this Jan 10, 2024
@Red-Asuka Red-Asuka merged commit 2c24199 into main Jan 10, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
desktop MQTTX Desktop enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants