Here's sample code to add logging to file:
https://www.wealth-lab.com/Discussion/PrintStatusBar-equivalent-in-WL7-6491
Also there's an API on writing logs to the Log Viewer i.e. AddLogItem, documented in https://www.wealth-lab.com/Support/ApiReference/IHost
    
https://www.wealth-lab.com/Discussion/PrintStatusBar-equivalent-in-WL7-6491
Also there's an API on writing logs to the Log Viewer i.e. AddLogItem, documented in https://www.wealth-lab.com/Support/ApiReference/IHost
CODE:
WLHost.Instance.AddLogItem
            Your Response
            
            Post
        
        
        
    
            Edit Post
            
        
        
        
    
            Login is required