mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
Show logs in the debug window
Some part of UI code is written by @andrew-app
This commit is contained in:
parent
5110c4a50e
commit
cf49b46d64
10 changed files with 146 additions and 20 deletions
|
@ -133,6 +133,8 @@ namespace Debug
|
|||
};
|
||||
#endif
|
||||
|
||||
using LogListener = std::function<void(Debug::Level, std::string_view prefix, std::string_view msg)>;
|
||||
void setLogListener(LogListener);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue