facebook / grocery-delivery

The Grocery Delivery utility for managing cookbook uploads to distributed Chef backends.
Apache License 2.0
154 stars 55 forks source link

Expose level the same way as the Logger class #51

Closed ifel closed 5 years ago

ifel commented 5 years ago

New version of the between meals library checks the logger level passed to it in order to determine how verbose knife commands should be. This works well with project using the Logger class as it exposes the level variable, however, as grocery-delivery passes there a wrapper module that provides sort of the same interface as the Logger class, but does not expose the level, it fails. With this change, it will be able to determine the level, and work as expected.