[libcalamares] Be more chatty in GeoIP test application

main
Adriaan de Groot 4 years ago
parent 032ed49cc4
commit 436e1de820

@ -11,7 +11,6 @@
* This is a test-application that does one GeoIP parse.
*/
#include <iostream>
#include "GeoIPFixed.h"
#include "GeoIPJSON.h"
@ -19,6 +18,10 @@
#include "GeoIPXML.h"
#endif
#include "utils/Logger.h"
#include <iostream>
using std::cerr;
using namespace CalamaresUtils::GeoIP;
@ -34,6 +37,9 @@ main( int argc, char** argv )
QString format( argv[ 1 ] );
QString selector = argc == 3 ? QString( argv[ 2 ] ) : QString();
Logger::setupLogLevel(Logger::LOGVERBOSE);
cDebug() << "Doing GeoIP interpretation with format=" << format << "selector=" << selector;
Interface* handler = nullptr;
if ( QStringLiteral( "json" ) == format )
{

Loading…
Cancel
Save