Cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

How to use TxLogWriter?

Valued Contributor
Valued Contributor

Hi,

 

I cannot new the TxLogWriter, there's no a way that I can use the TxLogWriter.

 

Can anyone give an example?

 

thanks.

4 REPLIES 4

Re: How to use TxLogWriter?

Siemens Legend Siemens Legend
Siemens Legend

Hi,

the TXAPlication holds a static members- LogWriter that can return an instance of TxLogWriter.

TxApplication.LogWriter.WriteInfoLine("my Info!");

Re: How to use TxLogWriter?

Valued Contributor
Valued Contributor
Hi, @Ofer

Thanks for your reply, now I know how to get an instance of TxLogWrite or I can use the static method to write the message.

and I wanna know where the log file then I can delete it or backup it for different commands.

thanks.

Re: How to use TxLogWriter?

Siemens Legend Siemens Legend
Siemens Legend

Hi,

The log settings (level & location) are set in the "empower doctor" menu, under Tools\Tecnomatix Application Log.

 

Re: How to use TxLogWriter?

Valued Contributor
Valued Contributor
Hi, Ofer

thanks. maybe the interface can be exposed?