Package org.eclipse.emf.common.util

Examples of org.eclipse.emf.common.util.Logger


              }
            }
         
      status = new Status(severity, PLUGIN_ID, 0, m, e); //$NON-NLS-1$
    }   
    Logger logger = INSTANCE.getPluginLogger();
    if (logger != null) {
      logger.log(status);
    } else if (Platform.isRunning()) {
      RuntimeLog.log(status);
    } else {
     
      String msg = java.text.MessageFormat.format(
View Full Code Here


  /*
   * Javadoc copied from interface.
   */
  public void log(Object logEntry)
  {
    Logger logger = getPluginLogger();
    if (logger == null)
    {
      if (logEntry instanceof Throwable)
      {
        ((Throwable)logEntry).printStackTrace(System.err);
      }
      else
      {
        System.err.println(logEntry);
      }
    }
    else
    {
      logger.log(logEntry);
    }
  }
View Full Code Here

TOP

Related Classes of org.eclipse.emf.common.util.Logger

Copyright © 2018 www.massapicom. All rights reserved.
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.