StoreFrontLogger SFO
Properties
Methods
| Method | Signature | Comments/Sample |
|---|---|---|
addTag | void addTag(string tag) | a tag may be anything. For example, if the customer visits a sale page, you could add a tag 'sale'. The tags allow you to filter your log files. |
debug (1) | void debug(string msg) | |
debug (2) | void debug(string category, string msg) | category is free text, whatever you wish to be a category |
error (1) | void error(string msg) | |
error (2) | void error(string category, string msg) | category is free text, whatever you wish to be a category |
info (1) | void info(string msg) | |
info (2) | void info(string category, string msg) | category is free text, whatever you wish to be a category |
isAppError | boolea isAppError() | |
removeTag | void removeTag(string tag) | |
setAppError | setAppError(boolean err) | set this to true if a condition was met that you would like to record as an error. This is helpful when viewing logs |
warn (1) | void warn(string msg) | |
warn (2) | void warn(string category, string msg) | category is free text, whatever you wish to be a category |
See Also
Was this page helpful?