diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-08-24 14:58:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-24 14:58:36 +0200 |
commit | d442f3d0aa4185f154bee396efaf24ceb73c9d84 (patch) | |
tree | 46086425e2349832e9f07f05492ac67d74ecc333 /main | |
parent | 548c26239907c34081a96bff61d653f2a32ac243 (diff) | |
parent | de59fe04e73250229e6ac11f9314e1b75dbdef1a (diff) |
Merge pull request #21351 from akien-mga/print_verbose
Add print_verbose to print to stdout only in verbose mode
Diffstat (limited to 'main')
-rw-r--r-- | main/main.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/main/main.cpp b/main/main.cpp index 2fd9cfa734..ff153d7c63 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -1214,10 +1214,8 @@ Error Main::setup2(Thread::ID p_main_tid_override) { ClassDB::set_current_api(ClassDB::API_NONE); //no more api is registered at this point - if (OS::get_singleton()->is_stdout_verbose()) { - print_line("CORE API HASH: " + itos(ClassDB::get_api_hash(ClassDB::API_CORE))); - print_line("EDITOR API HASH: " + itos(ClassDB::get_api_hash(ClassDB::API_EDITOR))); - } + print_verbose("CORE API HASH: " + itos(ClassDB::get_api_hash(ClassDB::API_CORE))); + print_verbose("EDITOR API HASH: " + itos(ClassDB::get_api_hash(ClassDB::API_EDITOR))); MAIN_PRINT("Main: Done"); return OK; |