mirror of
https://github.com/tstack/lnav
synced 2024-11-15 18:13:10 +00:00
26 lines
705 B
JSON
26 lines
705 B
JSON
{
|
|
"$schema": "https://lnav.org/schemas/format-v1.schema.json",
|
|
"leveltest_log": {
|
|
"description": "Log format used for testing levels",
|
|
"regex": {
|
|
"line": {
|
|
"pattern": "^(?<timestamp>\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}) (?<level>[^ ]+) (?<body>.*)$"
|
|
}
|
|
},
|
|
"level": {
|
|
"trace": "trace",
|
|
"debug": "debug",
|
|
"debug2": "debug2",
|
|
"debug3": "debug3",
|
|
"info": "info",
|
|
"warning": "warn",
|
|
"fatal": "fatal"
|
|
},
|
|
"sample": [
|
|
{
|
|
"line": "2016-06-30 12:00:01 trace tracemessage"
|
|
}
|
|
]
|
|
}
|
|
}
|