Adding log entry to Log Server

My aim is to add log-text to the Log Server from my SmartClient plug-in integration.

I used the component integration sample “Log Message To Server” as platform and reused the code for initialization of LogMessageDictionary and add new log entry

VideoOS.Platform.Log.LogClient.Instance.NewEntry(_application, _component, _id1, _item, _parms)

But I get no new log entry.

If I instead modify the “Log Message To Server” sample to receive a message as a string and let this sample write to the Log Server it works.

Do you have any ideas of what is wrong or do you have any example of writing to the Log Server from a SmartClient plug-in?

Unfortunately VideoOS.Platform.Log.LogClient is only supported in standalone.

Thank you very much.

I have used the ”Log Message To Server” Sample to create a background service, which accepts a string and handles this to the Log Server as a NewEntry.

I have used the “Chat” sample to see how to establish communication between two components. In this way I can make my Smart Client plug-in add new entries on Log Server.