Update Logging.md

This commit is contained in:
HomeSpan 2024-01-15 21:25:28 -06:00 committed by GitHub
parent 7f2f093fff
commit 1a6bc93632
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -102,8 +102,6 @@ void extraData(String &r){
To embed this custom HTML text in the Web Log, call `homeSpan.setWebLogCallback(extraData)` in your sketch. To embed this custom HTML text in the Web Log, call `homeSpan.setWebLogCallback(extraData)` in your sketch.
Note that *r* is being passed as a reference and already includes all the HTML text the Web Log has produced to set up the page and create the initial table. You should therefore *extend* this String using `+=`. Do not simple assign this variable to a new String with `=` or you will overwrite all the HTML already produced!
--- ---
[↩️](../README.md) Back to the Welcome page [↩️](../README.md) Back to the Welcome page