no color
parent
e176030868
commit
b04591fadb
|
@ -73,13 +73,12 @@ int main(int argc, const char** argv) {
|
||||||
|
|
||||||
auto args = parser.parse_args(argc, argv);
|
auto args = parser.parse_args(argc, argv);
|
||||||
|
|
||||||
//
|
if (args.contains("--no-color")) {
|
||||||
// if (argc > 1 && std::string(argv[1]) == "--no_color") {
|
for (int i = (int)blt::logging::log_level::NONE; i < (int)blt::logging::log_level::FATAL; i++) {
|
||||||
// for (int i = (int)blt::logging::log_level::NONE; i < (int)blt::logging::log_level::FATAL; i++) {
|
blt::logging::setLogColor((blt::logging::log_level)i, "");
|
||||||
// blt::logging::setLogColor((blt::logging::log_level)i, "");
|
}
|
||||||
// }
|
blt::logging::setLogOutputFormat("[${{TIME}}] [${{LOG_LEVEL}}] (${{FILE}}:${{LINE}}) ${{STR}}\n");
|
||||||
// blt::logging::setLogOutputFormat("[${{TIME}}] [${{LOG_LEVEL}}] (${{FILE}}:${{LINE}}) ${{STR}}\n");
|
}
|
||||||
// }
|
|
||||||
//
|
//
|
||||||
// auto* funy = new class_func;
|
// auto* funy = new class_func;
|
||||||
// super_func* virtual_funy = new class_func;
|
// super_func* virtual_funy = new class_func;
|
||||||
|
|
Loading…
Reference in New Issue