mil.dod.th.remote.client/src/mil/dod/th/remote/client/impl/Logging.java
private void log(final int level, final Throwable exception, final String format, final Object[] args)
    {
        if (m_LogService == null)
        {
            System.out.println(String.format(format, args)); // NOPMD: Default output when OSGi log service is missing
            exception.printStackTrace(); // NOPMD: Default output when OSGi log service is missing
        }
        else
        {
            m_LogService.log(level, String.format(format, args), exception);
        }
    }
/**
     * Log an exception message through the log service.  Message will be constructed by putting the 
     * <code>args</code> into the <code>format</code> string.
     * 
     * @param level
     *      Log level of the message, see {@link org.osgi.service.log.LogService#log(int, String, Throwable)}.
     * @param exception
     *      Exception related with the cause of the log message
     * @param format
     *      Format string, see {@link java.util.Formatter}.  The format string should be a constant and not a 
     *      concatenation.
     * @param args
     *      Argument list that will be inserted into the format string
     */
Log an exception message through the log service.  Message will be constructed by putting the
args into the format string.

@param level
Log level of the message, see  org.osgi.service.log.LogService#log(int, String, Throwable).
@param exception
Exception related with the cause of the log message
@param format
Format string, see  java.util.Formatter.  The format string should be a constant and not a
concatenation.
@param args
Argument list that will be inserted into the format string
Log an exception message through the log service . Message will be constructed by putting the args into the format string . @param level Log level of the message see org . osgi . service . log . LogService#log ( int String Throwable ) . @param exception Exception related with the cause of the log message @param format Format string see java . util . Formatter . The format string should be a constant and not a concatenation . @param args Argument list that will be inserted into the format string
private void log(final int level, final Throwable exception, final String format, final Object[] args)
    {
        if (m_LogService == null)
        {
            System.out.println(String.format(format, args)); 
            exception.printStackTrace(); 
        }
        else
        {
            m_LogService.log(level, String.format(format, args), exception);
        }
    }
private void log ( final int level , final Throwable exception , final String format , final Object [ ] args ) { if ( m_LogService == null ) { System . out . println ( String . format ( format , args ) ) ; exception . printStackTrace ( ) ; } else { m_LogService . log ( level , String . format ( format , args ) , exception ) ; } }
Log an exception message through the log service.
Log an exception message through the log service .
// NOPMD: Default output when OSGi log service is missing // NOPMD: Default output when OSGi log service is missing