summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-12-01 11:02:23 +0000
committerBram Moolenaar <Bram@vim.org>2022-12-01 11:02:23 +0000
commit4f501171f7ba8fe3d24c7e5bf5fcec5b5f246df1 (patch)
treed77b4edcaf2465d5e81a9dfdaba426c83a637091 /runtime
parent3b8c7083b265c35861a7f96b01c079471ff45152 (diff)
patch 9.0.0979: ch_log() text can be hard to find in the log filev9.0.0979
Problem: ch_log() text can be hard to find in the log file. Solution: Prepend "ch_log()" to the text.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/channel.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/channel.txt b/runtime/doc/channel.txt
index fbe4d3fc2e..111a56d949 100644
--- a/runtime/doc/channel.txt
+++ b/runtime/doc/channel.txt
@@ -618,6 +618,9 @@ ch_info({handle}) *ch_info()*
ch_log({msg} [, {handle}]) *ch_log()*
Write String {msg} in the channel log file, if it was opened
with |ch_logfile()|.
+ The text "ch_log():" is prepended to the message to make clear
+ it came from this function call and make it easier to find in
+ the log file.
When {handle} is passed the channel number is used for the
message.
{handle} can be a Channel or a Job that has a Channel. The