mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
logging migration of blackborder and grabber (#108)
* logging migration of blackborder and grabber * change to "Debug" for noise blackborder log messages
This commit is contained in:
@@ -62,7 +62,7 @@ int main(int argc, char ** argv)
|
||||
int height = argHeight.getValue();
|
||||
if (width < 160 || height < 160)
|
||||
{
|
||||
std::cout << "Minimum width and height is 160" << std::endl;
|
||||
Warning(Logger::getInstance("OSXGRABBER"), "Minimum width and height is 160");
|
||||
width = std::max(160, width);
|
||||
height = std::max(160, height);
|
||||
}
|
||||
@@ -94,7 +94,7 @@ int main(int argc, char ** argv)
|
||||
catch (const std::runtime_error & e)
|
||||
{
|
||||
// An error occured. Display error and quit
|
||||
std::cerr << e.what() << std::endl;
|
||||
Error(Logger::getInstance("OSXGRABBER"), "%s", e.what());
|
||||
return -1;
|
||||
}
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user