mirror of
https://github.com/neovim/neovim.git
synced 2026-05-06 08:26:45 -04:00
docs(dev): fix references to LOG_DEBUG #37825
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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: >
|
||||
|
||||
Reference in New Issue
Block a user