Files
zurdi ad543d93ee feat: add logs feature with internationalization support
- Introduced a new logs view for admin users, allowing real-time monitoring of backend logs.
- Implemented a log entry streaming mechanism using Socket.IO.
- Added filtering and searching capabilities for log entries.
- Created localized log messages in Spanish, French, Hungarian, Italian, Japanese, Korean, Polish, Portuguese, Romanian, Russian, Simplified Chinese, and Traditional Chinese.
- Updated router and sidebar components to include the new logs route.
- Enhanced user interface with tooltips and buttons for copying and downloading logs.
2026-06-19 16:06:50 +00:00

11 lines
235 B
Python

from endpoints.responses.base import BaseModel
class LogEntrySchema(BaseModel):
"""A single backend log line streamed to the admin log viewer."""
ts: int # epoch milliseconds
level: str
module: str
message: str