diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-05-30 02:03:08 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-06-07 00:26:21 +0200 |
commit | fe1af9c2bc020cdb9e1e86e1f16d6060246f957a (patch) | |
tree | f4d6e1e2b675eee3a92a1714e5d182e9a1daf044 /src/nvim/os/shell.c | |
parent | 698ec9eb6e97ce9038e5f95a3208b7a0ac8da805 (diff) | |
download | rneovim-fe1af9c2bc020cdb9e1e86e1f16d6060246f957a.tar.gz rneovim-fe1af9c2bc020cdb9e1e86e1f16d6060246f957a.tar.bz2 rneovim-fe1af9c2bc020cdb9e1e86e1f16d6060246f957a.zip |
log: Always enable; remove DISABLE_LOG
- Establish ERROR log level as "critical". Such errors are rare and will
be valuable when users encounter unusual circumstances.
- Set -DMIN_LOG_LEVEL=3 for release-type builds
Diffstat (limited to 'src/nvim/os/shell.c')
-rw-r--r-- | src/nvim/os/shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/os/shell.c b/src/nvim/os/shell.c index 1a40309655..8767287cf3 100644 --- a/src/nvim/os/shell.c +++ b/src/nvim/os/shell.c @@ -685,7 +685,7 @@ static void shell_write_cb(Stream *stream, void *data, int status) uv_err_name(status)); } if (stream->closed) { // Process may have exited before this write. - ELOG("stream was already closed"); + WLOG("stream was already closed"); return; } stream_close(stream, NULL, NULL); |