database utils written
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#include "spdlog/spdlog.h"
|
||||
#include <string>
|
||||
#include <toml++/toml.h>
|
||||
|
||||
@@ -11,5 +12,6 @@ int main (int argc, char *argv[]) {
|
||||
std::string clickhouse_db = config["clickhouse"]["db"].value_or("");
|
||||
if(clickhouse_username.empty() || clickouse_password.empty() || clickhouse_db.empty()) throw std::runtime_error("put the creds in the right place idiot");
|
||||
|
||||
spdlog::info("Logging is functional");
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user