docs(dev): fix references to LOG_DEBUG #37825

This commit is contained in:
wjyoung65
2026-02-12 04:20:01 -05:00
committed by GitHub
parent 5468e6a452
commit 06a78d43f5
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -34,7 +34,7 @@
# Log levels: DEBUG, INFO, WARNING, ERROR
# For Debug builds all log levels are used
# For Release and RelWithDebInfo builds only WARNING and ERROR are used, unless:
# CMAKE_EXTRA_FLAGS += -DLOG_DEBUG
# CMAKE_EXTRA_FLAGS += "-DCMAKE_C_FLAGS=${CMAKE_C_FLAGS} -DNVIM_LOG_DEBUG"
# By default, nvim uses bundled versions of its required third-party
# dependencies.
+2 -2
View File
@@ -62,14 +62,14 @@ Low-level log messages sink to `$NVIM_LOG_FILE`.
UI events are logged at DEBUG level. >
rm -rf build/
make CMAKE_EXTRA_FLAGS="-DLOG_DEBUG"
make CMAKE_BUILD_TYPE=Debug
Use `LOG_CALLSTACK()` (Linux only) to log the current stacktrace. To log to an
alternate file (e.g. stderr) use `LOG_CALLSTACK_TO_FILE(FILE*)`. Requires
`-no-pie` ([ref](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=860394#15)): >
rm -rf build/
make CMAKE_EXTRA_FLAGS="-DLOG_DEBUG -DCMAKE_C_FLAGS=-no-pie"
make CMAKE_BUILD_TYPE=Debug CMAKE_EXTRA_FLAGS="-DCMAKE_C_FLAGS=-no-pie"
Many log messages have a shared prefix, such as "UI" or "RPC". Use the shell to
filter the log, e.g. at DEBUG level you might want to exclude UI messages: >