Files
go2rtc/internal
Sergey Krashevich 8d382afa0f Add log file handling and viewing capabilities
This commit introduces the ability to handle log files through the API and
provides a new log viewing page. The API now supports GET and DELETE methods
for log file operations, allowing retrieval and deletion of log contents.
A new log.html page has been added for viewing logs in the browser, with
automatic refresh every 5 seconds and styling based on log levels.

The app.go file has been updated to include a GetLogFilepath function that
retrieves or generates the log file path. The NewLogger function now accepts
a file parameter to enable file logging. The main.js file has been updated
to include a link to the new log.html page.

This enhancement improves the observability and management of the application
by providing real-time access to logs and the ability to clear them directly
from the web interface.
2023-11-26 23:21:57 +03:00
..
2023-09-02 07:35:58 +03:00
2023-09-01 10:18:50 +03:00
2023-08-16 17:15:27 +03:00
2023-11-11 15:21:24 +03:00
2023-11-02 14:57:22 +03:00
2023-11-15 12:10:16 +03:00
2023-09-01 22:32:49 +03:00
2023-08-20 09:57:46 +03:00
2023-11-18 11:48:19 +03:00
2023-05-01 12:55:14 +03:00
2023-05-01 12:55:14 +03:00
2023-09-02 07:36:26 +03:00
2023-08-29 18:04:02 +03:00
2023-11-13 22:55:12 +03:00
2023-09-01 22:32:49 +03:00
2023-11-03 11:13:54 +03:00
2023-09-01 22:32:49 +03:00
2023-09-01 22:32:49 +03:00
2023-10-11 06:54:50 +03:00
2023-10-11 07:14:43 +03:00
2023-09-01 22:32:49 +03:00