forked from gronod/squeezelite-esp32
applied platformio structure
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#include "BellLogger.h"
|
||||
|
||||
bell::AbstractLogger* bell::bellGlobalLogger;
|
||||
|
||||
void bell::setDefaultLogger() {
|
||||
bell::bellGlobalLogger = new bell::BellLogger();
|
||||
}
|
||||
|
||||
void bell::enableSubmoduleLogging() {
|
||||
bell::bellGlobalLogger->enableSubmodule = true;
|
||||
}
|
||||
|
||||
void bell::enableTimestampLogging(bool local) {
|
||||
bell::bellGlobalLogger->enableTimestamp = true;
|
||||
bell::bellGlobalLogger->shortTime = local;
|
||||
}
|
||||
Reference in New Issue
Block a user