您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

18 行
224 B

  1. #include "Logging.h"
  2. namespace logging {
  3. void setup() {
  4. #if _DEBUG
  5. while (!Serial);
  6. #endif
  7. if (Serial) {
  8. Serial.begin(LOG_SERIAL_SPEED);
  9. Log.begin(LOG_LEVEL, &Serial);
  10. Log.notice("Starting...\n");
  11. }
  12. }
  13. }