In HS3 we had hs.writelog and hs.writelogdetail, I used both based on whether it was legacy code or new code (using the latter).
As far as I can tell, hs4 has WriteLog(logType As ELogType, message As String, pluginName As String, Optional color As String = "")
but when I look at the result in the log file, I get confused.
I don't seen the PI name showing up at all and I see the logtype being used either to really show log type but HS seems to use it also to show which function/module is writing the log item. Is this work in progress?
I for one would like to have the capability to do selections based on logtype or pluginname or both.
Thoughts?
As far as I can tell, hs4 has WriteLog(logType As ELogType, message As String, pluginName As String, Optional color As String = "")
but when I look at the result in the log file, I get confused.
I don't seen the PI name showing up at all and I see the logtype being used either to really show log type but HS seems to use it also to show which function/module is writing the log item. Is this work in progress?
I for one would like to have the capability to do selections based on logtype or pluginname or both.
Thoughts?
Comment