Term.jl / logging / sending messages to multiple locations

Thanks a lot @fredrikekre. Having the opportunity, I am wondering, is there any recommended way to log the output of functions / commands that return “nothing” with the use of TeeLogger?. Two examples of such functions / commands: Pkg.status() and Base.Sys.cpu_summary(). To log output of such commands / functions I came up (based on Logging documentation) with the following idea [link], however, I am not quite sure how to implement it with TeeLogger. Is it possible at all? What I am trying to achieve is to reduce println commands in my code and exchange them with logging.