mirror of
https://github.com/compose-spec/compose-go.git
synced 2026-11-24 20:00:00 +00:00
cli: add WithLogger to route project discovery and loading warnings
WithLogger sends to a logging.Logger the warnings raised by the file discovery options (several default config or override files, an inaccessible default .env file, a project name taken from a symlink), and hands the logger to the loader. Without it, those warnings keep going through the standard logrus logger, unchanged. Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
0481a82db0
commit
85a97c0c08
2 changed files with 250 additions and 7 deletions
Loading…
Add table
Add a link
Reference in a new issue