Change log library to spdlog, expose log levels to user (#72)

* Change from glog to spdlog

* Remove HA tests

* Remove logrotate log configuration

* Define custom main for unit gtests
This commit is contained in:
antonio2368
2021-01-21 15:47:56 +01:00
committed by Antonio Andelic
parent c0bd59bb09
commit 28413fd626
225 changed files with 2437 additions and 2685 deletions

View File

@@ -1,9 +1,8 @@
#include <iostream>
#include "gtest/gtest.h"
#include "io/network/endpoint.hpp"
#include "io/network/network_error.hpp"
#include "utils/logging.hpp"
using endpoint_t = io::network::Endpoint;
@@ -32,8 +31,3 @@ TEST(Endpoint, IPv6) {
// test address invalid
EXPECT_THROW(endpoint_t("::g", 12345), io::network::NetworkError);
}
int main(int argc, char **argv) {
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}