Unified Logs for sources initialization

This commit is contained in:
Bruno Herbelin
2022-04-09 15:20:48 +02:00
parent 54a23f5ae7
commit 3e41655902
5 changed files with 10 additions and 15 deletions

View File

@@ -407,7 +407,10 @@ void SessionGroupSource::init()
renderbuffer_->end();
// done init
Log::Info("Session Group '%s' initialized (%d x %d).", name().c_str(), int(renderbuffer->resolution().x), int(renderbuffer->resolution().y) );
uint N = session_->size();
std::string numsource = std::to_string(N) + " source" + (N>1 ? "s" : "");
Log::Info("Source '%s' groupped %s (%d x %d).", name().c_str(), numsource.c_str(),
int(renderbuffer->resolution().x), int(renderbuffer->resolution().y) );
}
}