JetBrains / ideolog

Interactive viewer for '.log' files.
MIT License
254 stars 55 forks source link

"highlight links and code references in logs" doesn't work for single line log records #89

Closed ury0005 closed 7 months ago

ury0005 commented 4 years ago

If it is possible allow code references in single line log records, now those are working for multiline (stack traces) only. I have code reference in every line of log, in otput console references are linked properly, but not in log viewer.

huwenming-saw commented 4 years ago

i have read part of the source code , in this file com/intellij/ideolog/util/IdeologDocumentContext.kt , in class IdeologDocumentContext#detectLogFileFormat() line 73 LogFileFormat(sumByMatcher.filter { it.second > 5 }.maxBy { it.second }?.first)
it required lines >5 then the file will repaint (The above is only my opinion~)

ioannup commented 9 months ago

+1

ArtemKar123 commented 7 months ago

Fixed in #165. Will be released in the next version. Thanks for your feedback!