gregschmit / omake

An extra implementation of make.
MIT License
17 stars 1 forks source link

De-couple `Makefile` and logging #19

Open gregschmit opened 1 year ago

gregschmit commented 1 year ago

The Makefile struct should have a logger field, which is something that implements MakeLogger trait, which implements info, warn, and error methods for logging. The default implementation will be to print to stdout/stderr.

This will help future efforts to make a re-usable library (that can also be used for a language server).