Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logging: JSONFormatter #4716

Open
obiltschnig opened this issue Sep 27, 2024 · 0 comments
Open

Logging: JSONFormatter #4716

obiltschnig opened this issue Sep 27, 2024 · 0 comments
Assignees

Comments

@obiltschnig
Copy link
Member

Add a JSONFormatter class to the Foundation logging framework.
This formatter should generate JSON-formatted logs, with one JSON document per log message.

Example for JSON schema:

{
    "timestamp": "2024-09-26T13:41:23.324461Z",
    "source": "sample",
    "level": "information",
    "message": "This is a test message.",
    "thread": 12,
    "file": "source.cpp",
    "line": 456,
    "params": {
        "prop1": "value1"
    }
}
@obiltschnig obiltschnig added this to the Release 1.14.0 milestone Sep 27, 2024
@obiltschnig obiltschnig self-assigned this Sep 27, 2024
@obiltschnig obiltschnig added this to 1.14 Sep 27, 2024
@obiltschnig obiltschnig moved this to Done in 1.14 Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

1 participant