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

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

本文整理了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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/**
 * Logs the given status.  The status is distributed to the log listeners
 * installed on this log and then to the log listeners installed on the platform.
 *
 * @see Plugin#getLog()
 */
@Override
public void log(final IStatus status) {
  // Log to the logger
  logger.log(PlatformLogWriter.getLog(status), PlatformLogWriter.getLevel(status), status.getMessage(), status.getException());
}

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

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

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

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

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

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

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

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

相关文章