Method to actually emit the log message. If the LogService is available, the message will be logged through the LogService. Otherwise the message is logged to stdout (or stderr in case of LOG_ERROR level messages),
@param level The log level to log the message at
@param pattern The java.text.MessageFormat message formatstring for preparing the message
@param arguments The format arguments for the patternstring.
@param componentId
@param ex An optional Throwable whose stack trace is written,
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.