org.eclipse.equinox.log.Logger.log()方法的使用及代码示例

x33g5p2x  于2022-01-24 转载在 其他  
字(5.2k)|赞(0)|评价(0)|浏览(274)

本文整理了Java中org.eclipse.equinox.log.Logger.log()方法的一些代码示例,展示了Logger.log()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Logger.log()方法的具体详情如下:
包路径:org.eclipse.equinox.log.Logger
类名称:Logger
方法名:log

Logger.log介绍

暂无

代码示例

代码示例来源:origin: org.eclipse.core/runtime

  1. /**
  2. * Logs the given status. The status is distributed to the log listeners
  3. * installed on this log and then to the log listeners installed on the platform.
  4. *
  5. * @see Plugin#getLog()
  6. */
  7. public void log(final IStatus status) {
  8. // Log to the logger
  9. logger.log(PlatformLogWriter.getLog(status), PlatformLogWriter.getLevel(status), status.getMessage(), status.getException());
  10. }

代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.eclipse.osgi

  1. @SuppressWarnings("rawtypes")
  2. public void log(ServiceReference sr, int level, String message, Throwable exception) {
  3. getLogger(null).log(sr, level, message, exception);
  4. }

代码示例来源:origin: org.eclipse/org.eclipse.osgi

  1. @SuppressWarnings("rawtypes")
  2. public void log(ServiceReference sr, int level, String message, Throwable exception) {
  3. getLogger(null).log(sr, level, message, exception);
  4. }

代码示例来源:origin: com.github.veithen.cosmos/cosmos-equinox

  1. @SuppressWarnings("rawtypes")
  2. public void log(ServiceReference sr, int level, String message, Throwable exception) {
  3. getLogger(null).log(sr, level, message, exception);
  4. }

代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.osgi

  1. @SuppressWarnings("rawtypes")
  2. public void log(ServiceReference sr, int level, String message, Throwable exception) {
  3. getLogger(null).log(sr, level, message, exception);
  4. }

代码示例来源:origin: org.eclipse.tycho/org.eclipse.osgi

  1. public void log(Object context, int level, String message, Throwable exception) {
  2. getLogger((String) null).log(context, level, message, exception);
  3. }

代码示例来源:origin: org.eclipse/osgi

  1. @SuppressWarnings("rawtypes")
  2. public void log(ServiceReference sr, int level, String message, Throwable exception) {
  3. getLogger(null).log(sr, level, message, exception);
  4. }

代码示例来源:origin: org.jibx.config.3rdparty.org.eclipse/org.eclipse.osgi

  1. public void log(Object context, int level, String message, Throwable exception) {
  2. getLogger(null).log(context, level, message, exception);
  3. }

代码示例来源:origin: org.eclipse.tycho/org.eclipse.osgi

  1. @SuppressWarnings("deprecation")
  2. public void log(ServiceReference<?> sr, int level, String message, Throwable exception) {
  3. getLogger((String) null).log(sr, level, message, exception);
  4. }

代码示例来源:origin: org.eclipse.platform/org.eclipse.osgi

  1. @SuppressWarnings("deprecation")
  2. public void log(ServiceReference<?> sr, int level, String message, Throwable exception) {
  3. getLogger((String) null).log(sr, level, message, exception);
  4. }

代码示例来源:origin: org.eclipse.platform/org.eclipse.osgi

  1. public void log(Object context, int level, String message, Throwable exception) {
  2. getLogger((String) null).log(context, level, message, exception);
  3. }

代码示例来源:origin: org.jibx.config.3rdparty.org.eclipse/org.eclipse.osgi

  1. @SuppressWarnings("rawtypes")
  2. public void log(ServiceReference sr, int level, String message, Throwable exception) {
  3. getLogger(null).log(sr, level, message, exception);
  4. }

代码示例来源:origin: com.github.veithen.cosmos/cosmos-equinox

  1. public void log(Object context, int level, String message, Throwable exception) {
  2. getLogger(null).log(context, level, message, exception);
  3. }

代码示例来源:origin: org.eclipse/org.eclipse.osgi

  1. public void log(FrameworkLogEntry logEntry) {
  2. logger.log(logEntry, convertLevel(logEntry), logEntry.getMessage(), logEntry.getThrowable());
  3. }

代码示例来源:origin: org.jibx.config.3rdparty.org.eclipse/org.eclipse.core.runtime

  1. /**
  2. * Logs the given status. The status is distributed to the log listeners
  3. * installed on this log and then to the log listeners installed on the platform.
  4. *
  5. * @see Plugin#getLog()
  6. */
  7. public void log(final IStatus status) {
  8. // Log to the logger
  9. logger.log(PlatformLogWriter.getLog(status), PlatformLogWriter.getLevel(status), status.getMessage(), status.getException());
  10. }

代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.core.runtime

  1. /**
  2. * Logs the given status. The status is distributed to the log listeners
  3. * installed on this log and then to the log listeners installed on the platform.
  4. *
  5. * @see Plugin#getLog()
  6. */
  7. @Override
  8. public void log(final IStatus status) {
  9. // Log to the logger
  10. logger.log(PlatformLogWriter.getLog(status), PlatformLogWriter.getLevel(status), status.getMessage(), status.getException());
  11. }

代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.equinox.common

  1. void logging(IStatus status) {
  2. Bundle b = getBundle(status);
  3. Logger equinoxLog = logService.getLogger(b, EQUINOX_LOGGER_NAME);
  4. equinoxLog.log(getLog(status), getLevel(status), status.getMessage(), status.getException());
  5. }

代码示例来源:origin: org.eclipse.equinox/common

  1. void logging(IStatus status) {
  2. Bundle b = getBundle(status);
  3. Logger equinoxLog = logService.getLogger(b, EQUINOX_LOGGER_NAME);
  4. equinoxLog.log(getLog(status), getLevel(status), status.getMessage(), status.getException());
  5. }

代码示例来源:origin: com.github.veithen.cosmos.bootstrap/org.eclipse.equinox.common

  1. void logging(IStatus status) {
  2. Bundle b = getBundle(status);
  3. Logger equinoxLog = logService.getLogger(b, EQUINOX_LOGGER_NAME);
  4. equinoxLog.log(getLog(status), getLevel(status), status.getMessage(), status.getException());
  5. }

代码示例来源:origin: org.jibx.config.3rdparty.org.eclipse/org.eclipse.equinox.common

  1. void logging(IStatus status) {
  2. Bundle b = getBundle(status);
  3. Logger equinoxLog = logService.getLogger(b, EQUINOX_LOGGER_NAME);
  4. equinoxLog.log(getLog(status), getLevel(status), status.getMessage(), status.getException());
  5. }

相关文章