TbSync Event Log¶
The TbSync event log can be used by any provider to log messages which could be important for the user.
add(type, eventInfo, message, details)¶
Adds an entry to the TbSync event log
let eventInfo = new TbSync.EventLogInfo(); TbSync.eventlog.add(TbSync.StatusData.WARNING, eventInfo, "Something bad happend!");
Instead of creating a custom
EventLogInfo() instance, you can also get one with prefilled information via