Connected the log file facility to stderr
This commit is contained in:
parent
ed0c44891f
commit
efd8722fd9
@ -25,6 +25,7 @@
|
|||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
#include "pybindings.h"
|
#include "pybindings.h"
|
||||||
#include "version.h"
|
#include "version.h"
|
||||||
|
#include "log.h"
|
||||||
|
|
||||||
void svg_dump_el(const GraphicElement &el)
|
void svg_dump_el(const GraphicElement &el)
|
||||||
{
|
{
|
||||||
@ -52,6 +53,8 @@ int main(int argc, char *argv[])
|
|||||||
int rc = 0;
|
int rc = 0;
|
||||||
std::string str;
|
std::string str;
|
||||||
|
|
||||||
|
log_files.push_back(stderr);
|
||||||
|
|
||||||
po::options_description options("Allowed options");
|
po::options_description options("Allowed options");
|
||||||
options.add_options()("help,h", "show help");
|
options.add_options()("help,h", "show help");
|
||||||
options.add_options()("test", "just a check");
|
options.add_options()("test", "just a check");
|
||||||
|
Loading…
Reference in New Issue
Block a user