cancel
Showing results for 
Search instead for 
Did you mean: 

OnLogEvent and log types

Highlighted
Occasional Contributor

OnLogEvent and log types

Is it possible to know the log type from inside OnLogEvent handler?

I could use the OnLogError, OnLogWarning etc., but it seems counterproductive - in particular much harder to maintain.
3 REPLIES 3
Highlighted
Contributor

RE: OnLogEvent and log types

Can you elaborate please?



Thankyou

Syed

Syed Ahmed Safvan

Highlighted
Staff

RE: OnLogEvent and log types

Hi Jean,



The OnLogEvent event occurs when you post a message of the 'event' type to the log. For other message types, you need to use appropriate events (OnLogMessage for messages, OnLogError for errors, etc.).



------
Yuri
TestComplete Customer Care Engineer

Learn SmartBear products in a fun and easy way and prove your knowledge!
>>Participate in the TechCorner Challenge today
Highlighted
Occasional Contributor

RE: OnLogEvent and log types

Right, I was misled by the name while looking for a generic OnLog event handler.

Thanks!

New Here?
Join us and watch the welcome video:
Announcements
Join TechCorner Challenge!
Want a fun and easy way to learn TestComplete? Try solving weekly TechCorner challenges and get into the Leaderboard!

Challenge Status

Changing options from outside of TestComplete

Participate!

How to execute remote test and obtain results via Test Runner REST API

Participate!

Comparing content of HTML table with Excel file data

Participate!

Compare HTML table with Excel file and correct data in the file

Participate!
Top Kudoed Authors