Java Code Examples for org.scijava.log.LogService#debug()

The following examples show how to use org.scijava.log.LogService#debug() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: NativeQTFormat.java    From scifio with BSD 2-Clause "Simplified" License 5 votes vote down vote up
/** Debugging method; prints information on an atom. */
private static void print(final int depth, final long size,
	final String type, final LogService log)
{
	final StringBuilder sb = new StringBuilder();
	for (int i = 0; i < depth; i++)
		sb.append(" ");
	sb.append(type + " : [" + size + "]");
	log.debug(sb.toString());
}