RobotStudio event

GetCategory deprecated

Hi;



I am using the GetCategory in PC SDK vers 5.15 as stated in the PC SDK application manual 5.15 (pg on EventLog domain):

EventLogCategory cat = log.GetCategory(CategoryType.Common);



but it says that GetCategory and CategoryType are already deprecated. What are the replacement for them ? Please update this info in the manual.



Rgds



Wey
FW

Comments

  • Hi,
    is deprecated but you can always use it, or you can use EventLogCategory[] cat = log.GetCategories();
    where you receive all the available EventLogMessage of the EventLog.