attestantio / vouch

Apache License 2.0
112 stars 28 forks source link

Add hierarchical logging. #28

Closed mcdee closed 3 years ago

mcdee commented 3 years ago

The existing logging method was somewhat brittle. This adds a utility function to obtain the most suitable logging level, walking up the configuration hiererachy until it finds a matching entry.