mirror of
https://github.com/rommapp/romm.git
synced 2026-06-28 06:46:00 +00:00
- 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.
11 lines
235 B
Python
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
|