fix logger clang error
This commit is contained in:
@@ -2,13 +2,14 @@
|
||||
#include <set>
|
||||
#include <unordered_set>
|
||||
#include <map>
|
||||
#include "hack/logger/logger.hpp"
|
||||
#include "hack/logger/logger.new.hpp"
|
||||
#include "hack/patterns/ring_buffer.hpp"
|
||||
#include "hack/utils/timestamp.hpp"
|
||||
|
||||
auto main(int argc, char *argv[]) -> int
|
||||
{
|
||||
std::string str = "hi";
|
||||
hack::log()(str);
|
||||
|
||||
int i = 1;
|
||||
double d = 2.0;
|
||||
float f = 3.f;
|
||||
@@ -32,6 +33,7 @@ auto main(int argc, char *argv[]) -> int
|
||||
|
||||
hack::log().set_devider(", ");
|
||||
hack::log()(1, i, 3.1f, f, 4.3, d, "asdf");
|
||||
hk::log()(i);
|
||||
|
||||
hack::log().set_devider(" = ");
|
||||
hack::log().on_full_path();
|
||||
@@ -69,7 +71,6 @@ auto main(int argc, char *argv[]) -> int
|
||||
hack::log()(rb);
|
||||
|
||||
hack::log()(str.c_str());
|
||||
hack::log()(str);
|
||||
|
||||
std::filesystem::path p { "/test/file/path.txt" };
|
||||
hack::log()(p);
|
||||
|
||||
Reference in New Issue
Block a user