aboutsummaryrefslogtreecommitdiffstats
path: root/ice40
diff options
context:
space:
mode:
authorZipCPU <dgisselq@ieee.org>2018-06-07 08:12:22 -0400
committerZipCPU <dgisselq@ieee.org>2018-06-07 08:12:22 -0400
commitefd8722fd96147a286b79fef8d9bf22d137f720d (patch)
treebf7f6001d50df287a2a546cca8111c763c07535e /ice40
parented0c44891fb510c8181c2ae9332d7a030f0aaaff (diff)
downloadnextpnr-efd8722fd96147a286b79fef8d9bf22d137f720d.tar.gz
nextpnr-efd8722fd96147a286b79fef8d9bf22d137f720d.tar.bz2
nextpnr-efd8722fd96147a286b79fef8d9bf22d137f720d.zip
Connected the log file facility to stderr
Diffstat (limited to 'ice40')
-rw-r--r--ice40/main.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/ice40/main.cc b/ice40/main.cc
index d47076fd..c42b869a 100644
--- a/ice40/main.cc
+++ b/ice40/main.cc
@@ -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");