scmc.ErrorLogglobal with sharing class ErrorLog this class is used to insert log records into the scm error log object. AuthorFinancial Force, Inc. Methods
logglobal static void log(String className, String message) Inserts a record into the scmc.ErrorLog object and sends an email to the address specified in the custom setting Organization Settings Notification Email. Input Parameters
Exceptions Thrown
Return ValueDoes not return a value. logglobal static void log(String className, String message, String trace) Inserts a record into the scmc.ErrorLog object and sends an email to the address specified in the custom setting Organization Settings Notification Email. Input Parameters
Exceptions Thrown
Return ValueDoes not return a value. logglobal static void log(String className, String message, String trace, boolean flushErrorList) Adds a new scmc.ErrorLog object to a list. If flushErrorList is true, the entire error list is inserted. Otherwise, only the newly created scmc.ErrorLog object is inserted and an email is sent to the address specified in the custom setting Organization Settings Notification Email. Input Parameters
Exceptions Thrown
Return ValueDoes not return a value. logglobal static void log(String className, String message, Exception e) Inserts a record into the scmc.ErrorLog object and sends an email to the address specified in the custom setting Organization Settings Notification Email. Input Parameters
Exceptions Thrown
Return ValueDoes not return a value. logglobal static void log(String className, String message, boolean flushErrorList) Adds a new scmc.ErrorLog object to a list. If flushErrorList is true, the entire error list is inserted. Otherwise, only the newly created scmc.ErrorLog object is inserted and an email is sent to the address specified in the custom setting Organization Settings Notification Email. Input Parameters
Exceptions Thrown
Return ValueDoes not return a value. logglobal static void log(String className, String message, Exception e, String additionalInfo) Inserts a record into the scmc.ErrorLog object and sends an email to the address specified in the custom setting Organization Settings Notification Email. Input Parameters
Exceptions Thrown
Return ValueDoes not return a value. logglobal static void log(String className, String message, Exception e, String additionalInfo, boolean flushErrorList) Adds a new scmc.ErrorLog object to a list. If flushErrorList is true, the entire error list is inserted. Otherwise, only the newly created scmc.ErrorLog object is inserted and an email is sent to the address specified in the custom setting Organization Settings Notification Email. Input Parameters
Exceptions Thrown
Return ValueDoes not return a value. flushglobal static void flush() Inserts the entire list of errors. Exceptions Thrown
Return ValueDoes not return a value. |