fix logger stacktrase

This commit is contained in:
2025-10-28 07:57:46 +03:00
parent 503ea9fb44
commit 44f7c2246e
2 changed files with 31 additions and 20 deletions

View File

@@ -31,16 +31,17 @@ auto main(int argc, char *argv[]) -> int
for (int i = 0; i < 10; ++i) rb.put(i);
hack::log().set_devider(", ");
hack::log().on_func();
hack::log()(1, i, 3.1f, f, 4.3, d, "asdf");
hack::log().set_devider(" = ");
hack::log().on_full_path();
hack::log()(1, i, 3.1f, f, 4.3, d, "asdf");
hack::log().reset();
hack::log()(1, i, 3.1f, f, 4.3, d, "asdf");
hack::log().set_devider(", ");
hack::log().on_func();
hack::log().on_file();
hack::log().on_row();
hack::log().on_file(false);
hack::log().on_row(false);
hack::log()(vs);
hack::log()(l);
hack::log()(df);
@@ -59,6 +60,7 @@ auto main(int argc, char *argv[]) -> int
hack::log().set_devider(", ");
hack::log()(sti, 123, true);
hack::log().reset();
hack::log().on_full_path();
hack::log()("log", 123, sti, false, 1.8f, vs);
hack::warn()("warn");