Params item is either a string or a list containing the entry to be added to the log. If not supplied, the value at user.log.prefs.flLogToTextFile is used. If not supplied, the value at user.log.prefs.flLogToOutline is used. If not supplied, the value at user.log.prefs.flLogToGuestDatabase is used. If not supplied, the value at user.log.prefs.flViewLog is used.
Action Adds an item to a specific log, based on the parameters and the user's preferences.
The new optional parameters were added in Frontier 6. In Frontier 6, logging to a guest database is encouraged over outline and text file logging. In general, it's best when calling log.add not to supply any of the optional parameters other than flWpText. This way the user's preferences are respected. However, sometimes there's a good reason for doing over-riding those preferences, which is why those parameters exist.