Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/denops_std/function/vim/mod.ts>ch_log

📚 Standard module for denops.vim
Go to Latest
function ch_log
import { ch_log } from "https://deno.land/x/denops_std@v4.1.4/function/vim/mod.ts";

Write String {msg} in the channel log file, if it was opened with |ch_logfile()|. 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 Channel must be open for the channel number to be used. Can also be used as a |method|: 'did something'->ch_log()

Parameters

denops: Denops
msg: unknown
optional
handle: unknown

Returns

Promise<unknown>