Skip to content

Instantly share code, notes, and snippets.

@fganora
Created October 21, 2016 08:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save fganora/b7f5cb85c8e981641b6a50359ecc16fe to your computer and use it in GitHub Desktop.
Save fganora/b7f5cb85c8e981641b6a50359ecc16fe to your computer and use it in GitHub Desktop.
Mule: MEL utiity global function to improve Logger entries
<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