mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 10:55:46 -05:00
[libcalamares] Be more chatty in GeoIP test application
This commit is contained in:
parent
032ed49cc4
commit
436e1de820
1 changed files with 7 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue