diff options
Diffstat (limited to 'src/logfile.c')
-rw-r--r-- | src/logfile.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/logfile.c b/src/logfile.c index 6c159b078f..673468ebad 100644 --- a/src/logfile.c +++ b/src/logfile.c @@ -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); } /* |