summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index 7238c0c..4765dcc 100644
--- a/main.cpp
+++ b/main.cpp
@@ -1,5 +1,8 @@
#include <iostream>
#include <Eigen/Dense>
+#include "tools/easylogging++.h"
+
+INITIALIZE_EASYLOGGINGPP
using Eigen::MatrixXd;
@@ -10,5 +13,6 @@ int main()
m(1,0) = 2.5;
m(0,1) = -1;
m(1,1) = m(1,0) + m(0,1);
+ LOG(FATAL) << "My first info log using default logger";
std::cout << m << std::endl;
}