Yasuhiro Matsumoto wrote:

> Why you need ch_logfile? Is it an experimental feature? if you want to
> implement logging, I prefer option for the channel functions.
> 
> let h = ch_open("localhost:5432", {"log": "foo.log", ...})

The first thing I used this for was add ch_logfile("log") at the start
of a test and ch_logfile("") at the end of a test.

I assume that logging may be useful while working on a feature, but it
should be off once it's working.  Adding it to the options is a bit
harder to add and remove.

-- 
"After a few years of marriage a man can look right at a woman
without seeing her and a woman can see right through a man
without looking at him."
 - Helen Rowland

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui