You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #include "Logging.h"
-
- namespace logging {
-
- void setup() {
- #if _DEBUG
- while (!Serial);
- #endif
-
- if (Serial) {
- Serial.begin(LOG_SERIAL_SPEED);
- Log.begin(LOG_LEVEL, &Serial);
-
- Log.notice("Starting...\n");
- }
- }
-
- }
|