From 82594c0156dbb4850463e2fb997b9caa1bed845a Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Tue, 7 Jun 2022 12:39:30 +0300 Subject: [PATCH] v.vcache: improve the output of `-d trace_usecache_n` --- vlib/v/vcache/vcache.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/v/vcache/vcache.v b/vlib/v/vcache/vcache.v index e9ce633826..4777897eba 100644 --- a/vlib/v/vcache/vcache.v +++ b/vlib/v/vcache/vcache.v @@ -39,7 +39,7 @@ pub fn new_cache_manager(opts []string) CacheManager { if vcache_basepath == '' { vcache_basepath = os.join_path(os.vmodules_dir(), 'cache') } - nlog(@FN, 'vcache_basepath: $vcache_basepath | opts:\n $opts') + nlog(@FN, 'vcache_basepath: $vcache_basepath\n opts: $opts\n os.args: ${os.args.join(' ')}') dlog(@FN, 'vcache_basepath: $vcache_basepath | opts:\n $opts') if !os.is_dir(vcache_basepath) { os.mkdir_all(vcache_basepath) or { panic(err) }