Created
August 1, 2016 14:55
-
-
Save dancinllama/e96d6cdced7418e9b0a67aae62b9488b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @description Simple invocable class (can be called via process or flow). For logging a message or messages to the debug logs. | |
* @author James Loghry | |
* @date 8/1/2016 | |
*/ | |
public class InvocableLogger { | |
@InvocableMethod | |
public static void log(List<String> messages){ | |
if(messages != null){ | |
for(String message : messages){ | |
System.debug(message); | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment