Created
October 21, 2016 08:13
-
-
Save fganora/b7f5cb85c8e981641b6a50359ecc16fe to your computer and use it in GitHub Desktop.
Mule: MEL utiity global function to improve Logger entries
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
<configuration doc:name="Configuration"> | |
<expression-language> | |
<global-functions> | |
def logMessage(loggerName, messageToLog) { | |
return "[" + flow.name + ":" + loggerName + "]: " + messageToLog; | |
} | |
</global-functions> | |
</expression-language> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment