Current LogPanel implementation is plain string based, but rather we can create a new MessagePanel which can have all metadata about the logs stored in an array of MsgData struct
- Location
- Log Level
- Message/Payload
- Logger name
- Timestamp
This will allow us to select the details to display using Tables and also filter based on the parameter data such as Log level or logger without having to use string filter provided by ImGui. Using this data will also allow us to add our own Regex for detailed description of errors thus providing on-demand brief or verbose error details.
Current LogPanel implementation is plain string based, but rather we can create a new MessagePanel which can have all metadata about the logs stored in an array of MsgData struct
This will allow us to select the details to display using Tables and also filter based on the parameter data such as Log level or logger without having to use string filter provided by ImGui. Using this data will also allow us to add our own Regex for detailed description of errors thus providing on-demand brief or verbose error details.