mirror of
https://github.com/neovim/neovim.git
synced 2025-10-02 07:58:35 +00:00
refactor(log): reduce compile time LOG_LEVEL granularity
This commit is contained in:
@@ -92,8 +92,9 @@ getkey:
|
||||
may_sync_undo();
|
||||
}
|
||||
|
||||
#if MIN_LOG_LEVEL <= LOGLVL_DBG
|
||||
log_key(LOGLVL_DBG, key);
|
||||
#ifdef NVIM_LOG_DEBUG
|
||||
char *keyname = key == K_EVENT ? "K_EVENT" : (char *)get_special_key_name(key, mod_mask);
|
||||
DLOG("input: %s", keyname);
|
||||
#endif
|
||||
|
||||
int execute_result = s->execute(s, key);
|
||||
|
Reference in New Issue
Block a user