Duplicated with #3
Now every time you want to use yaml config the logger, you need to write your own struct, and write the apply method to update the logger, which is annoying, the log package should ship with a config struct, and the config package should have an interface for validate, noXXX, apply, and maybe an empty object for pojo config, so you can use embedding instead of writing empty methods to satisfies the interface
Duplicated with #3
Now every time you want to use yaml config the logger, you need to write your own struct, and write the apply method to update the logger, which is annoying, the log package should ship with a config struct, and the config package should have an interface for validate, noXXX, apply, and maybe an empty object for pojo config, so you can use embedding instead of writing empty methods to satisfies the interface