88 lines
1.2 KiB
Plaintext
88 lines
1.2 KiB
Plaintext
Debug: respons {
|
|
"some": "name",
|
|
"value": 12
|
|
} is received
|
|
{timespan} Info: some log without json
|
|
Error: {
|
|
"code": 500,
|
|
"error": "Something went wrong"
|
|
}
|
|
Warning: Invalid data format detected
|
|
{
|
|
"data": {
|
|
"id": 1,
|
|
"name": "test"
|
|
},
|
|
"status": "ok"
|
|
}
|
|
User log: {
|
|
"action": "login",
|
|
"timestamp": "2025-01-31T12:00:00Z",
|
|
"user": "john_doe"
|
|
}
|
|
Random text without json
|
|
Debug: Payload sent: {
|
|
"request": {
|
|
"body": {
|
|
"key": "value"
|
|
},
|
|
"type": "POST"
|
|
}
|
|
}
|
|
Another line with no json
|
|
{meta} Log: {"action": "update", "success": true}
|
|
Normal message with {
|
|
"json": "inside"
|
|
} text
|
|
{
|
|
"array": [
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"nested": {
|
|
"deep": {
|
|
"value": "found"
|
|
}
|
|
}
|
|
}
|
|
{2025-01-31} Event: {"event": "created", "user": "admin"}
|
|
Plain text that should not be modified
|
|
Info: {
|
|
"details": "this is a test log",
|
|
"level": "info"
|
|
}
|
|
{
|
|
"array": [
|
|
{
|
|
"id": 1
|
|
},
|
|
{
|
|
"id": 2
|
|
},
|
|
{
|
|
"id": 3
|
|
}
|
|
]
|
|
}
|
|
An unformatted json log {
|
|
"name": "example",
|
|
"valid": true
|
|
}
|
|
Debug: {
|
|
"data": "test",
|
|
"items": [
|
|
{
|
|
"x": 10,
|
|
"y": 20
|
|
}
|
|
]
|
|
}
|
|
Non-json message with curly braces {like this}
|
|
{
|
|
"key1": "value1",
|
|
"key2": {
|
|
"subkey": "subvalue"
|
|
}
|
|
}
|