When debugging my vimrc, I often want to log informational messages, e.g. things like "skipping function X because a necessary plugin isn't available". I can use
echom statements to do that, but they block. At least, they do under gvim; I get an error window on startup that must be dismissed.
I want a way to log messages for future perusal, without otherwise obstructing what vimrc is doing. Can it be done?