Connected the log file facility to stderr

This commit is contained in:
ZipCPU 2018-06-07 08:12:22 -04:00
parent ed0c44891f
commit efd8722fd9

View File

@ -25,6 +25,7 @@
#include "mainwindow.h"
#include "pybindings.h"
#include "version.h"
#include "log.h"
void svg_dump_el(const GraphicElement &el)
{
@ -52,6 +53,8 @@ int main(int argc, char *argv[])
int rc = 0;
std::string str;
log_files.push_back(stderr);
po::options_description options("Allowed options");
options.add_options()("help,h", "show help");
options.add_options()("test", "just a check");