We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6b6b1d commit bce8a4fCopy full SHA for bce8a4f
kore-rpc-types/src/Kore/Util.hs
@@ -19,7 +19,7 @@ showHashHex h = let cutoff = 7 in Text.take cutoff . Text.pack $ showHex (fromIn
19
20
-- | From a Kore/Booster contextual one-line log message, extract the context prefix
21
extractLogMessageContext :: Text -> Text
22
-extractLogMessageContext = Text.takeWhile isContextCharacter
+extractLogMessageContext = Text.filter (not . isBracket) . Text.takeWhile isContextCharacter
23
where
24
isContextCharacter :: Char -> Bool
25
isContextCharacter c = isHexDigit c || isLower c || isSpace c || isBracket c
0 commit comments