mirror of
https://github.com/tstack/lnav
synced 2024-11-17 15:29:40 +00:00
Merge pull request #237 from sureshsundriyal/minor_fix
[log_format] Don't capture the sub-groups.
This commit is contained in:
commit
b822a997f5
@ -82,7 +82,7 @@ const char *logline::level_names[LEVEL__MAX + 1] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static pcrepp LEVEL_RE(
|
static pcrepp LEVEL_RE(
|
||||||
"(?i)(TRACE|DEBUG\\d*|INFO|STATS|WARN(?:ING)?|ERR(OR)?|CRITICAL|SEVERE|FATAL)");
|
"(?i)(TRACE|DEBUG\\d*|INFO|STATS|WARN(?:ING)?|ERR(?:OR)?|CRITICAL|SEVERE|FATAL)");
|
||||||
|
|
||||||
logline::level_t logline::string2level(const char *levelstr, ssize_t len, bool exact)
|
logline::level_t logline::string2level(const char *levelstr, ssize_t len, bool exact)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user