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

Error Logging #200

Open
256dpi opened this issue Apr 29, 2020 · 0 comments
Open

Error Logging #200

256dpi opened this issue Apr 29, 2020 · 0 comments

Comments

@256dpi
Copy link
Owner

256dpi commented Apr 29, 2020

To aid with debugging, an error/event reporting interface should be added. This should be configurable as the Serial port might be used for something else. A rough sketch:

void logger(String &msg) {
  Serial.println(msg);
}

void setup() {
  client.setLogger(logger);
}
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