APISonar


org.apache.felix.framework.Logger.log

> org > apache > felix > framework > Logger > log
org APIs apache APIs felix APIs framework APIs Logger APIs log APIs

Example 1
private Logger logger;

	public void log(final String msg, final Throwable t) {// TODO better
		if (logger == null) return;

		if (t == null) logger.log(Logger.LOG_INFO, msg);
		else logger.log(Logger.LOG_ERROR, msg, t);
	}