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).
The
Makefile
struct should have alogger
field, which is something that implementsMakeLogger
trait, which implementsinfo
,warn
, anderror
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).