kube-object-storage / lib-bucket-provisioner

Library for the dynamic provisioning of object store buckets to be used by object store providers.
Apache License 2.0
21 stars 22 forks source link

Allow for configurable logging levels #114

Open copejon opened 5 years ago

copejon commented 5 years ago

Allow library consumers to specify the info and debug log levels of the library. Default values should be set if not configured. Currently log levels are 0 and 1 for info and debug, respectively. Reasons for doing so are to not spam developer's logs and allow the dev's to align levels with the consumer project

jeffvance commented 5 years ago

Perhaps, in addition to above, we want to allow Provisioners to pass in their logger to NewProvisioner(). The lib can continue to use its current logger if no logger is provided. See #78