mil.dod.th.core/src/mil/dod/th/core/log/Logging.java
public static boolean log(final int level, final String format, final Object... args)
    {
        synchronized (m_LogServiceLock)
        {
            if (m_LogService == null)
            {
                logStdOut(level, format, args);
                return false;
            }
            else
            {
                m_LogService.log(level, STATIC_LOG_MARKER + String.format(format, args));
                return true;
            }
        }
    }
/**
     * Log a message through the log service. Message will be constructed by putting the <code>args</code> into the
     * <code>format</code> string.
     * 
     * This method should only be used if not able to use the {@link LogService} directly with the
     * <code>LoggingService</code> class.
     * 
     * @param level
     *            Log level of the message, see {@link LogService#log(int, String)}.
     * @param format
     *            Format string, see {@link java.util.Formatter}. The format string should be a constant and not a
     *            concatenation. If the log service is not available, the format string will not be evaluated, limiting
     *            processing.
     * @param args
     *            Argument list that will be inserted into the format string
     * @return Whether the message was logged (whether service is available)
     * 
     * @see String#format(String, Object...)
     */
Log a message through the log service. Message will be constructed by putting the args into the
format string.

This method should only be used if not able to use the  LogService directly with the
LoggingService class.

@param level
Log level of the message, see  LogService#log(int, String).
@param format
Format string, see  java.util.Formatter. The format string should be a constant and not a
concatenation. If the log service is not available, the format string will not be evaluated, limiting
processing.
@param args
Argument list that will be inserted into the format string
@return Whether the message was logged (whether service is available)


Log a message through the log service . Message will be constructed by putting the args into the format string . This method should only be used if not able to use the LogService directly with the LoggingService class . @param level Log level of the message see LogService#log ( int String ) . @param format Format string see java . util . Formatter . The format string should be a constant and not a concatenation . If the log service is not available the format string will not be evaluated limiting processing . @param args Argument list that will be inserted into the format string @return Whether the message was logged ( whether service is available )
public static boolean log(final int level, final String format, final Object... args)
    {
        synchronized (m_LogServiceLock)
        {
            if (m_LogService == null)
            {
                logStdOut(level, format, args);
                return false;
            }
            else
            {
                m_LogService.log(level, STATIC_LOG_MARKER + String.format(format, args));
                return true;
            }
        }
    }
public static boolean log ( final int level , final String format , final Object ... args ) { synchronized ( m_LogServiceLock ) { if ( m_LogService == null ) { logStdOut ( level , format , args ) ; return false ; } else { m_LogService . log ( level , STATIC_LOG_MARKER + String . format ( format , args ) ) ; return true ; } } }
Log a message through the log service.
Log a message through the log service .