Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
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@v3.9.0/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>