From 1e9e4ffda9abe30b71ceb1de2f4c3143805c66a9 Mon Sep 17 00:00:00 2001 From: JPVenson Date: Mon, 9 Jun 2025 04:52:39 +0300 Subject: Rework startup topic handling and reenable output to logging framework (#14243) --- Jellyfin.Server/ServerSetupApp/StartupLogTopic.cs | 31 +++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Jellyfin.Server/ServerSetupApp/StartupLogTopic.cs (limited to 'Jellyfin.Server/ServerSetupApp/StartupLogTopic.cs') diff --git a/Jellyfin.Server/ServerSetupApp/StartupLogTopic.cs b/Jellyfin.Server/ServerSetupApp/StartupLogTopic.cs new file mode 100644 index 000000000..cd440a9b5 --- /dev/null +++ b/Jellyfin.Server/ServerSetupApp/StartupLogTopic.cs @@ -0,0 +1,31 @@ +using System; +using System.Collections.ObjectModel; +using Microsoft.Extensions.Logging; + +namespace Jellyfin.Server.ServerSetupApp; + +/// +/// Defines a topic for the Startup UI. +/// +public class StartupLogTopic +{ + /// + /// Gets or Sets the LogLevel. + /// + public LogLevel LogLevel { get; set; } + + /// + /// Gets or Sets the descriptor for the topic. + /// + public string? Content { get; set; } + + /// + /// Gets or sets the time the topic was created. + /// + public DateTimeOffset DateOfCreation { get; set; } + + /// + /// Gets the child items of this topic. + /// + public Collection Children { get; } = []; +} -- cgit v1.2.3