From: David ‘Bombe’ Roden Date: Mon, 29 Jul 2019 11:12:49 +0000 (+0200) Subject: 🔊 Log Sone parsing time X-Git-Tag: v81^2~161 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=5b6ead5721c404ab629187a03a7590824f93bd4d;p=Sone.git 🔊 Log Sone parsing time --- diff --git a/src/main/java/net/pterodactylus/sone/core/SoneParser.java b/src/main/java/net/pterodactylus/sone/core/SoneParser.java index d37c647..bd68095 100644 --- a/src/main/java/net/pterodactylus/sone/core/SoneParser.java +++ b/src/main/java/net/pterodactylus/sone/core/SoneParser.java @@ -329,6 +329,7 @@ public class SoneParser { // record the duration stopwatch.stop(); soneParsingDurationHistogram.update(stopwatch.elapsed(MICROSECONDS)); + logger.fine(() -> "Parsed " + originalSone.getIdentity().getId() + "@" + originalSone.getLatestEdition() + " in " + stopwatch.elapsed(MICROSECONDS) + "μs."); return sone;