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

today log #6

Open
pbecchi opened this issue Oct 11, 2017 · 3 comments
Open

today log #6

pbecchi opened this issue Oct 11, 2017 · 3 comments

Comments

@pbecchi
Copy link

pbecchi commented Oct 11, 2017

You have added a today write log routine!
void print_today_log(ulong days){
It is only for debug?
It is really necessary on ESP32 code?

@tcsaba101
Copy link
Owner

void print_today_log(ulong days) is for debugging.
This prints out the last number of days logs at restarting the system to the serial monitor, so you can see the actual history.
It is the best way to check what happened, since the mobile UI can't handle the logs reading.
I still have additional logging developments in my mind.

If I will develop on ESP32 platform then I would need it. If we will keep still we can the Atmel development then I don't need.
I am writing a separate issue on future development possibilities.

@pbecchi
Copy link
Author

pbecchi commented Oct 12, 2017

We shall put all Debug related code under SG21DEBUG conditional statements or I keep it out and you debug on Atmel!

@tcstmarkt
Copy link

Ok I do it. I don't touch DEBUG_PRINT as it is used in original OS217 too.

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

No branches or pull requests

3 participants