Make logger thread safe (#885)

This commit is contained in:
Murat Seker
2020-07-19 15:37:47 +02:00
committed by GitHub
parent 45303e1b64
commit 4880e31562
10 changed files with 276 additions and 193 deletions

View File

@@ -14,7 +14,7 @@ Grabber::Grabber(QString grabberName, int width, int height, int cropLeft, int c
, _cropTop(0)
, _cropBottom(0)
, _enabled(true)
, _log(Logger::getInstance(grabberName))
, _log(Logger::getInstance(grabberName.toUpper()))
{
Grabber::setVideoMode(VideoMode::VIDEO_2D);
Grabber::setCropping(cropLeft, cropRight, cropTop, cropBottom);