Skip to content

Conversation

@omerkaptan
Copy link

The reason for this change is to address situations where JSON-formatted logs were not being written to the file in a proper JSON format. The modified function is designed to tackle this issue by introducing the "logstyle" property. If "logstyle" is set to JSON, the data is first appended to a JSON array, ensuring that this array adheres to a proper JSON format, and then the updated JSON array is written to the file. This improvement ensures that logs in JSON format are stored in a more structured and readable manner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant