Skip to content

support TOML as a log format file, uh, format #569

@tstack

Description

@tstack

Using JSON for format configuration files is a bit unfriendly, TOML seems like a more reasonable format.

The challenge here is that lnav has a pretty tight binding to yajl for parsing files since lnav is doing validation and populating internal data structures. It looks like this parser (https://github.com/skystrife/cpptoml/) has a visitor interface, so we can probably make it work. Or, just resort to converting the TOML file to JSON internally.

Suggested by @jefft

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions