Updated to use new version of arduinolog

This commit is contained in:
Magnus Persson 2021-05-30 15:37:44 +02:00
parent 940520006a
commit 2cedab0250
3 changed files with 3 additions and 3 deletions

View File

@ -87,7 +87,7 @@ SerialDebug::SerialDebug(const long serialSpeed) {
//
// Print the timestamp (ms since start of device)
//
void printTimestamp(Print* _logOutput) {
void printTimestamp(Print* _logOutput, int _logLevel) {
char c[12];
sprintf(c, "%10lu ", millis());
_logOutput->print(c);

View File

@ -38,7 +38,7 @@ char* convertFloatToString( float f, char* buf, int dec = 2);
float reduceFloatPrecision( float f, int dec = 2 );
// Logging via serial
void printTimestamp(Print* _logOutput);
void printTimestamp(Print* _logOutput, int _logLevel);
void printNewline(Print* _logOutput);
void printHeap();

View File

@ -89,7 +89,7 @@ bool Wifi::connect( bool showPortal ) {
} else {
WiFi.begin();
#if LOG_LEVEL==6
Log.debug(F("WIFI: Using SSID=%s, KEY=%s." CR), WiFi.SSID().c_str(), WiFi.psk().c_str() );
Log.verbose(F("WIFI: Using SSID=%s, KEY=%s." CR), WiFi.SSID().c_str(), WiFi.psk().c_str() );
#endif
}