Migrate logging and add "enable" to smoothing (#105)

* Migrate logging and add "enable" to smoothing

* Migrated the linearcolorsmoothing file
This commit is contained in:
penfold42
2016-07-12 20:46:54 +10:00
committed by brindosch
parent 76acff8043
commit b7b17b36e8
4 changed files with 15 additions and 6 deletions

View File

@@ -22,7 +22,8 @@ LinearColorSmoothing::LinearColorSmoothing(
connect(&_timer, SIGNAL(timeout()), this, SLOT(updateLeds()));
std::cout << "HYPERION (CS) INFO: Created linear-smoothing(interval_ms=" << _updateInterval << ";settlingTime_ms=" << settlingTime_ms << ";updateDelay=" << _outputDelay << std::endl;
Info(Logger::getInstance("Smoothing"), "Created linear-smoothing with interval_ms: %d, settlingTime_ms: %d, updateDelay: %d",
_updateInterval, settlingTime_ms, _outputDelay );
}
LinearColorSmoothing::~LinearColorSmoothing()