Updated to use new version of arduinolog
This commit is contained in:
parent
940520006a
commit
2cedab0250
@ -87,7 +87,7 @@ SerialDebug::SerialDebug(const long serialSpeed) {
|
|||||||
//
|
//
|
||||||
// Print the timestamp (ms since start of device)
|
// Print the timestamp (ms since start of device)
|
||||||
//
|
//
|
||||||
void printTimestamp(Print* _logOutput) {
|
void printTimestamp(Print* _logOutput, int _logLevel) {
|
||||||
char c[12];
|
char c[12];
|
||||||
sprintf(c, "%10lu ", millis());
|
sprintf(c, "%10lu ", millis());
|
||||||
_logOutput->print(c);
|
_logOutput->print(c);
|
||||||
|
@ -38,7 +38,7 @@ char* convertFloatToString( float f, char* buf, int dec = 2);
|
|||||||
float reduceFloatPrecision( float f, int dec = 2 );
|
float reduceFloatPrecision( float f, int dec = 2 );
|
||||||
|
|
||||||
// Logging via serial
|
// Logging via serial
|
||||||
void printTimestamp(Print* _logOutput);
|
void printTimestamp(Print* _logOutput, int _logLevel);
|
||||||
void printNewline(Print* _logOutput);
|
void printNewline(Print* _logOutput);
|
||||||
void printHeap();
|
void printHeap();
|
||||||
|
|
||||||
|
@ -89,7 +89,7 @@ bool Wifi::connect( bool showPortal ) {
|
|||||||
} else {
|
} else {
|
||||||
WiFi.begin();
|
WiFi.begin();
|
||||||
#if LOG_LEVEL==6
|
#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
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user