Update logging

This commit is contained in:
mio 2024-09-22 00:14:03 +08:00
parent f8a1e3e695
commit f164769a9a
No known key found for this signature in database
GPG Key ID: DFF27E34A47CB873

View File

@ -133,8 +133,7 @@ additional messages to indicate what is happening.
However, the qemu logs are partially commented-out and incomplete, but give it a try.
You might want to dig deeper - and add your own log messages where you expect or try to find the bug.
See the `unicorn/qemu/include/qemu/log.h` file for details.
To enable logs, you must recompile Unicorn with the enabled `UNICORN_LOGGING` define.
To enable logs, you must recompile Unicorn with `-DUNICORN_LOGGING=yes` to cmake.
Logs are written in different log levels, which might result into a very verbose logging if enabled.
To control the log level information, two environment variables could be used.