fix logger

This commit is contained in:
2025-10-28 07:02:13 +03:00
parent b663bcfb8f
commit 4690993b73
3 changed files with 13 additions and 13 deletions

View File

@@ -31,16 +31,16 @@ auto main(int argc, char *argv[]) -> int
for (int i = 0; i < 10; ++i) rb.put(i);
hack::log().set_devider(", ");
hack::log().no_func();
hack::log().on_func();
hack::log()(1, i, 3.1f, f, 4.3, d, "asdf");
hack::log().set_devider(" = ");
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().no_func();
hack::log().no_file();
hack::log().no_row();
hack::log().on_func();
hack::log().on_file();
hack::log().on_row();
hack::log()(vs);
hack::log()(l);
hack::log()(df);

View File

@@ -2,10 +2,10 @@ executable(
meson.project_name(),
# 'examples/audio/main.cpp',
# 'examples/concepts/main.cpp',
'examples/math/main.cpp',
# 'examples/math/main.cpp',
# 'examples/range/main.cpp',
# 'examples/patterns/main.cpp',
# 'examples/logger/main.cpp',
'examples/logger/main.cpp',
# 'examples/exception/main.cpp',
dependencies : deps,
cpp_args: args,