mirror of
https://github.com/compose-spec/compose-go.git
synced 2026-11-24 20:00:00 +00:00
loader: add Options.Logger to route loading warnings
Options.Logger, when set, receives the warnings raised by the loader: obsolete version attribute, YAML 1.1 booleans, unset variables during interpolation and misconfigured resource loaders. It is inherited by the files loaded through include and extends. When nil, warnings keep going through the standard logrus logger, with the same messages. Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
414395c352
commit
0481a82db0
4 changed files with 298 additions and 20 deletions
Loading…
Add table
Add a link
Reference in a new issue