API Support Forum
OEC API > API Support > Any way tp enable OEC API's trace logs?
Author Topic: Any way tp enable OEC API's trace logs?
(4 messages, Page 1 of 1)
Moderators: VPfau
AAnatoly
Posts: 22
Joined: Jul 01, 2010


Posted: Aug 02, 2010 @ 01:48 AM             Msg. 1 of 4
Hello.

Is it any kind of tracing/logging inside OEC API?
How to enable/disable it?

Thanks,
Anatoly

Anatoly Gutnick
VictorV
Posts: 746
Joined: May 08, 2007


Posted: Aug 02, 2010 @ 11:07 AM             Msg. 2 of 4
You can enable it via OEC.Log.Start() or OEC.Log.Start(path_to_log_folder). The first version will store them to Log subfolder of the current folder. OEC.Log.Stop() to disable.

Victor Vins
Software Developer
CChen15
Posts: 121
Joined: Jul 23, 2009


Posted: Sep 19, 2010 @ 10:35 PM             Msg. 3 of 4
Sorry, but I can't find "OEC.Log.Start" non in documentation, non in ObjectBrowser (VBA). What is this secret method?

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Chen Hua, Russia
VictorV
Posts: 746
Joined: May 08, 2007


Posted: Sep 20, 2010 @ 09:02 AM             Msg. 4 of 4
COM OEC API doesn't include this functionality.

Victor Vins
Software Developer