0
0
mirror of https://github.com/vim/vim.git synced 2025-09-30 04:44:14 -04:00

patch 9.0.0979: ch_log() text can be hard to find in the log file

Problem:    ch_log() text can be hard to find in the log file.
Solution:   Prepend "ch_log()" to the text.
This commit is contained in:
Bram Moolenaar
2022-12-01 11:02:23 +00:00
parent 3b8c7083b2
commit 4f501171f7
4 changed files with 10 additions and 2 deletions

View File

@@ -177,7 +177,9 @@ f_ch_log(typval_T *argvars, typval_T *rettv UNUSED)
channel = get_channel_arg(&argvars[1], FALSE, FALSE, 0);
#endif
ch_log(channel, "%s", msg);
// Prepend "ch_log()" to make it easier to find these entries in the
// logfile.
ch_log(channel, "ch_log(): %s", msg);
}
/*