Logmode question

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt

BT454
Posts: 135
Joined: Wed Aug 02, 2017 6:07 am

Logmode question

Postby BT454 » Thu Jul 29, 2021 6:37 am

Hi all!
Is there a way to capture just the output from "statusline" commands in a log?
I regularly use the statusline command as checkpoints for events, or decisions in a program and it would be helpful to capture the statuline output in a log.
Thanks!
Bob

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13306
Joined: Tue Sep 16, 2008 5:38 pm

Re: Logmode question

Postby EViews Gareth » Thu Jul 29, 2021 8:19 am

Follow us on Twitter @IHSEViews

BT454
Posts: 135
Joined: Wed Aug 02, 2017 6:07 am

Re: Logmode question

Postby BT454 » Thu Jul 29, 2021 8:39 am

Thanks! I have used the statusline option before, however it captures every update in the statusline. Would there be a way for me to capture just the statusline updates that are triggered from code in the .prg?
Thanks again,
Bob

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13306
Joined: Tue Sep 16, 2008 5:38 pm

Re: Logmode question

Postby EViews Gareth » Thu Jul 29, 2021 9:02 am

Use logmsg instead of statusline
Follow us on Twitter @IHSEViews


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 31 guests