You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Opt for using `Log` instead of `Serial.print` where possible.
89
-
2. Keep `INFO` log messages limited and concise to avoid cluttering the serial monitor with messages that may not be meaningful.
90
-
3. Use `NOTICE` log messages for events that occur less frequently but are still important.
91
-
4. Use `WARNING` log messages for unexpected occurrences during execution that may not cause immediate issues (e.g., "Only 4 stock symbols defined").
92
-
5. Use `TRACE` log messages for debugging purposes, such as tracking execution flow or dumping JSON returned from an API call.
93
-
6. Use `WARNING` for less critical errors, `ERROR` for more critical errors, and `FATAL` only for the most critical errors.
84
+
2. Keep `INFO`, `NOTICE` log messages limited and concise to avoid cluttering the serial monitor with messages that may not be meaningful (`INFO` and `NOTICE` are synonymous).
85
+
3. Use `WARNING` log messages for unexpected occurrences during execution that may not cause immediate issues (e.g., "Only 4 stock symbols defined").
86
+
4. Use `TRACE` log messages for debugging purposes, such as tracking execution flow or dumping JSON returned from an API call.
87
+
5. Use `WARNING` for less critical errors, `ERROR` for more critical errors, and `FATAL` only for the most critical errors.
0 commit comments