PDA

View Full Version : Output to console and log file


tikskit
11-19-2010, 09:05 AM
Hello!

I use VisBuildCmd to execute my scripts. And I want to send some information (such as 'MyAPP.exe was compiled') to console and all other output (all that Visual Build Professional usually write) to log file. In other words I want devide user-important information and build-diagnostic information.

Example it would be fine if Log messages write to console but all other to file.

How can I do this?

By the way. I found that Log Message write to console only characters from ANSI code page.

Thank you!

kinook
11-19-2010, 12:25 PM
Originally posted by tikskit
Hello!

I use VisBuildCmd to execute my scripts. And I want to send some information (such as 'MyAPP.exe was compiled') to console and all other output (all that Visual Build Professional usually write) to log file. In other words I want devide user-important information and build-diagnostic information.

Example it would be fine if Log messages write to console but all other to file.

How can I do this?There isn't a way to do this currently, but we'll add it to the request list. For now, you might write the selective messages to a separate file (for instance, using the Write File action) instead of the console.By the way. I found that Log Message write to console only characters from ANSI code page.See http://www.kinook.com/VisBuildPro/Manual/useutf8forconsoleappsproperty.htm

tikskit
11-19-2010, 02:19 PM
Thank you!

kinook
02-22-2012, 01:38 PM
This is implemented in v8.0.