public final class NanoDecor extends Object implements Formattable
For example:
final long start = System.nanoTime(); // some operations Logger.debug("completed in %[nano]s", System.nanoTime() - start);
public NanoDecor(Long nan)
nan
- The interval in nanosecondspublic void formatTo(Formatter formatter, int flags, int width, int precision)
formatTo
in interface Formattable
Copyright © 2012 jcabi.com. All Rights Reserved.