What Would This Custom Log Format Be?
已回答
I had a read of the docs https://github.com/JetBrains/ideolog/wiki/Custom-Log-Formats but based on the pre-existing formats I still don't really understand what a custom format would look like.
This is an example of a log message.
14:25:31.524 [DEBUG] [org.gradle.launcher.daemon.server.SynchronizedDispatchConnection] thread 19: dispatching class org.gradle.launcher.daemon.protocol.BuildEvent
The Time format is clearly HH:mm:ss.SSS and I guess ^\d should be OK for the message start pattern.
I'm not really sure what I am supposed to put in for the message pattern though.
Everything I try results in it not being recognised.
What would be the right pattern for this?
请先登录再写评论。
If you've checked your regexp with some online validation tool and it matches the log statement, while it still doesn't work in ideolog, please report a bug at https://github.com/JetBrains/ideolog/issues.