RobotStudio event

PC SDK event log message types

I am using the C# version of the PC SDK 5.61.01 and I have a encoutered a problem with the EventLogMessage.Type property.

I have set up a callback function to handle all event log message in our application. While I do indeed get a callback for alle event log messages, their type seems to be wrong. All error message show their type as Warning and all warning messages have type Information. All information messages also have the Information Type. I have seen this both on the simulator and an actual robot.

Our relevant C# code looks like this:

private void EventMessageCallBack(object sender, MessageWrittenEventArgs e)
{
    EventLogMessage message = e.Message;
    this.log.Trace(string.Format(
       "Received {0} message from controller.\nTitle: {1}\nBody: {2}",
       message.Type,
       message.Title,
       message.Body));

     //process message
}

To easily test the problem I added the following to our RAPID program:
ErrWrite "Error", "Error message";
ErrWrite \W, "Warning", "Warning message";
ErrWrite \I, "Information", "Information message";

This results in the following entries in our log file:

Received Warning message from controller. Title: Error *snip*
Received Information message from controller. Title: Warning *snip*
Received Information message from controller. Title: Information *snip*

We also see the same shift with event log messages that are generated by the controller itself. For example all corner path failures show Information as their type rather than Warning.

Is this a bug or am I missing something?

Kind Regards,
Jorik