@Override public void logDuration(final Event event, final long fromTimestamp, final Object... args) { if (isEnabled(event.level())) { final long toTimestamp; if (fromTimestamp == -1) { toTimestamp = -1; } else { toTimestamp = System.nanoTime(); } long duration = 0; if ((fromTimestamp != -1) && (toTimestamp != -1)) { duration = toTimestamp - fromTimestamp; } logImpl(event, duration, args); } }
@Override public void logDuration(final Event event, final long fromTimestamp, final Object... args) { if (isEnabled(event.level())) { final long toTimestamp; if (fromTimestamp == -1) { toTimestamp = -1; } else { toTimestamp = System.nanoTime(); } long duration = 0; if ((fromTimestamp != -1) && (toTimestamp != -1)) { duration = toTimestamp - fromTimestamp; } logImpl(event, duration, args); } }
@Override public void logDuration(final Event event, final long fromTimestamp, final Object... args) { if (isEnabled(event.level())) { final long toTimestamp; if (fromTimestamp == -1) { toTimestamp = -1; } else { toTimestamp = System.nanoTime(); } long duration = 0; if ((fromTimestamp != -1) && (toTimestamp != -1)) { duration = toTimestamp - fromTimestamp; } logImpl(event, duration, args); } }
@Override public void logDuration(final Event event, final long fromTimestamp, final Object... args) { if (isEnabled(event.level())) { final long toTimestamp; if (fromTimestamp == -1) { toTimestamp = -1; } else { toTimestamp = System.nanoTime(); } long duration = 0; if ((fromTimestamp != -1) && (toTimestamp != -1)) { duration = toTimestamp - fromTimestamp; } logImpl(event, duration, args); } }
@Override public void logDuration(final Event event, final long fromTimestamp, final Object... args) { if (isEnabled(event.level())) { final long toTimestamp; if (fromTimestamp == -1) { toTimestamp = -1; } else { toTimestamp = System.nanoTime(); } long duration = 0; if ((fromTimestamp != -1) && (toTimestamp != -1)) { duration = toTimestamp - fromTimestamp; } logImpl(event, duration, args); } }
@Override public void logDuration(final Event event, final long fromTimestamp, final Object... args) { if (isEnabled(event.level())) { final long toTimestamp; if (fromTimestamp == -1) { toTimestamp = -1; } else { toTimestamp = System.nanoTime(); } long duration = 0; if ((fromTimestamp != -1) && (toTimestamp != -1)) { duration = toTimestamp - fromTimestamp; } logImpl(event, duration, args); } }
@Override public void logDuration(final Event event, final long fromTimestamp, final Object... args) { if (isEnabled(event.level())) { final long toTimestamp; if (fromTimestamp == -1) { toTimestamp = -1; } else { toTimestamp = System.nanoTime(); } long duration = 0; if ((fromTimestamp != -1) && (toTimestamp != -1)) { duration = toTimestamp - fromTimestamp; } logImpl(event, duration, args); } }