
Snippets Support > Snippets > Logging
Here's a useful example of how to create various kinds of logs using the Edit command. This one logs simple information about each user who clicks the button. It could easily be added to a login form or register form. Many other edit options are possible. Also other SERVER variables are possible including host, ip, secure, browser, return, etc.
Note the *sort command not only alphabetizes the log, but removes any duplicate entries.
Go ahead, give it a try!
(:zapform:) (:zap editbody=" Mon May 12 19:08:49 2025":) (:zap edit="Demo-Log.Names({button})":) (:zapend:)
LOG RECORD: