buildkit/util/bklog
Kohei Tokunaga 2e58406dbe Do not drop logger set by containerd
Currently, bklog overwrites `(github.com/containerd/containerd/log).G` and
doesn't preserve the logger set by
`(github.com/containerd/containerd/log).WithLogger`.

This causes log fields set by
`(github.com/containerd/containerd/log).WithLogger` are dropped.

This commit fixes this issue by allowing `bklog.GetLogger` to get logger set by
`(github.com/containerd/containerd/log).WithLogger`.

Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
2022-02-22 13:32:51 +09:00
..
log.go Do not drop logger set by containerd 2022-02-22 13:32:51 +09:00