qiongsiwu wrote:

> Is the intended usage to rely only on pre-defined events or to add custom 
> logging too?

The events can be added quite easily within the Dependency Scanning stack. When 
an instance of the logger is available, to add a new log, one can do 
```
Logger.log() << "new even to log" << ... ;
```

So this can be used similarly to `llvm::errs()` if a Logger instance is in 
scope. 


https://github.com/llvm/llvm-project/pull/195896
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to