本文整理了Java中org.eclipse.equinox.log.Logger
类的一些代码示例,展示了Logger
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Logger
类的具体详情如下:
包路径:org.eclipse.equinox.log.Logger
类名称:Logger
[英]Provides named logger support for the OSGi LogService. Otherwise very similar to the LogService
.
[中]为OSGi LogService提供命名记录器支持。在其他方面与LogService
非常相似。
代码示例来源: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: org.eclipse.platform/org.eclipse.osgi
public String getName() {
return getLogger((String) null).getName();
}
代码示例来源:origin: org.eclipse/org.eclipse.osgi
public boolean isLoggable(int level) {
return getLogger(null).isLoggable(level);
}
代码示例来源:origin: org.eclipse.tycho/org.eclipse.osgi
@Override
public void debug(String format, Object arg) {
getLogger((String) null).debug(format, arg);
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.osgi
@Override
public void audit(String message) {
getLogger((String) null).audit(message);
}
代码示例来源:origin: org.eclipse.tycho/org.eclipse.osgi
@Override
public void debug(String format, Object arg1, Object arg2) {
getLogger((String) null).debug(format, arg1, arg2);
}
代码示例来源:origin: org.eclipse.tycho/org.eclipse.osgi
@Override
public void audit(String format, Object... arguments) {
getLogger((String) null).audit(format, arguments);
}
代码示例来源: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: com.github.veithen.cosmos/cosmos-equinox
public boolean isLoggable(int level) {
return getLogger(null).isLoggable(level);
}
代码示例来源:origin: org.eclipse.tycho/org.eclipse.osgi
public String getName() {
return getLogger((String) null).getName();
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.osgi
@Override
public void debug(String format, Object... arguments) {
getLogger((String) null).debug(format, arguments);
}
代码示例来源:origin: org.eclipse.platform/org.eclipse.osgi
@Override
public void audit(String format, Object arg) {
getLogger((String) null).audit(format, arg);
}
代码示例来源: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: at.bestsolution.efxclipse.eclipse/org.eclipse.osgi
public boolean isLoggable(int level) {
return getLogger(null).isLoggable(level);
}
代码示例来源:origin: org.eclipse/org.eclipse.osgi
public String getName() {
return getLogger(null).getName();
}
代码示例来源:origin: org.eclipse.tycho/org.eclipse.osgi
@Override
public void debug(String format, Object... arguments) {
getLogger((String) null).debug(format, arguments);
}
代码示例来源:origin: org.eclipse.tycho/org.eclipse.osgi
@Override
public void audit(String format, Object arg1, Object arg2) {
getLogger((String) null).audit(format, arg1, arg2);
}
代码示例来源: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
public boolean isLoggable(int level) {
return getLogger(null).isLoggable(level);
}
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.osgi
public String getName() {
return getLogger(null).getName();
}
内容来源于网络,如有侵权,请联系作者删除!