svengeance / Husky

Modernizing the way developers think about installers
3 stars 0 forks source link

[Feature] Logging Configuration #22

Open svengeance opened 3 years ago

svengeance commented 3 years ago

Context

6 is not intended to be a fully consumer-ready interface for logging; merely to establish early patterns and practices. With that excuse in mind, we should provide Developers the capability to configure logging in any reasonable manner they choose with yaml. Husky will, of course, have a reasonably intelligent default implementation.

Proposals

Expose a HuskyConfigurationBlock that allows users to define logging details. How often (Rollover period, once-per-operation, etc), where (just files? just console?), and provide hooks into configuring logging.

This should be parsed immediately as part of the source generation process so that we can accurately log at the earliest available opportunity.

Interested Users

Husky Developers