Skip to content

Commit e6ec6c4

Browse files
aksOpsclaude
andcommitted
style: use actual emoji characters instead of unicode escapes in log messages
Replace \uD83D\uDC22, \u23ED\uFE0F etc. with actual 🐢 and ⏭️ emoji characters — more readable in source code. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent f1b8e0d commit e6ec6c4

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

src/main/java/io/github/randomcodespace/iq/analyzer/Analyzer.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -853,7 +853,7 @@ private AnalysisResult runSmartWithCache(Path root, Integer parallelism, int bat
853853
filtered.add(file);
854854
} else {
855855
filesSkipped++;
856-
log.debug("\u23ED\uFE0F SKIP: {} ({}, {} bytes) — no architecture keywords",
856+
log.debug("⏭️ SKIP: {} ({}, {} bytes) — no architecture keywords",
857857
file.path(), file.language(), raw.length);
858858
}
859859
} catch (IOException e) {
@@ -1170,9 +1170,9 @@ DetectorResult analyzeFileWithRegistry(DiscoveredFile file, Path repoPath,
11701170

11711171
long fileMs = Duration.between(fileStart, Instant.now()).toMillis();
11721172
if (fileMs > 5000) {
1173-
log.warn("\uD83D\uDC22 SLOW: {} took {}ms", file.path(), fileMs);
1173+
log.warn("🐢 SLOW: {} took {}ms", file.path(), fileMs);
11741174
} else if (fileMs > 500) {
1175-
log.info("\uD83D\uDC22 SLOW: {} took {}ms", file.path(), fileMs);
1175+
log.info("🐢 SLOW: {} took {}ms", file.path(), fileMs);
11761176
}
11771177

11781178
if (moduleName != null) {
@@ -1316,7 +1316,7 @@ DetectorResult analyzeFile(DiscoveredFile file, Path repoPath, DetectorRegistry
13161316
DetectorResult result = detector.detect(ctx);
13171317
long detMs = Duration.between(detStart, Instant.now()).toMillis();
13181318
if (detMs > 2000) {
1319-
log.warn("\uD83D\uDC22 SLOW DETECTOR: {} on {}: {}ms",
1319+
log.warn("🐢 SLOW DETECTOR: {} on {}: {}ms",
13201320
detector.getName(), file.path(), detMs);
13211321
} else if (detMs > 100) {
13221322
log.debug("Slow detector {} on {} ({} bytes): {}ms",
@@ -1335,9 +1335,9 @@ DetectorResult analyzeFile(DiscoveredFile file, Path repoPath, DetectorRegistry
13351335

13361336
long fileMs = Duration.between(fileStart, Instant.now()).toMillis();
13371337
if (fileMs > 5000) {
1338-
log.warn("\uD83D\uDC22 SLOW: {} took {}ms", file.path(), fileMs);
1338+
log.warn("🐢 SLOW: {} took {}ms", file.path(), fileMs);
13391339
} else if (fileMs > 500) {
1340-
log.info("\uD83D\uDC22 SLOW: {} took {}ms", file.path(), fileMs);
1340+
log.info("🐢 SLOW: {} took {}ms", file.path(), fileMs);
13411341
}
13421342

13431343
// Set module on all nodes that don't have one yet

src/main/java/io/github/randomcodespace/iq/grammar/AntlrParserFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public static ParseTree parse(String language, String content) {
121121
};
122122
long parseMs = java.time.Duration.between(parseStart, java.time.Instant.now()).toMillis();
123123
if (parseMs > 2000) {
124-
log.warn("\uD83D\uDC22 SLOW ANTLR: {} parse took {}ms ({} bytes)", language, parseMs, content.length());
124+
log.warn("🐢 SLOW ANTLR: {} parse took {}ms ({} bytes)", language, parseMs, content.length());
125125
}
126126

127127
// Cache the result for subsequent detectors on the same file

0 commit comments

Comments
 (0)