aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/ServerSetupApp/StartupLogTopic.cs
blob: cd440a9b53ddf5ae9aa70b5b45b9855ad7fd73f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
using System;
using System.Collections.ObjectModel;
using Microsoft.Extensions.Logging;

namespace Jellyfin.Server.ServerSetupApp;

/// <summary>
/// Defines a topic for the Startup UI.
/// </summary>
public class StartupLogTopic
{
    /// <summary>
    /// Gets or Sets the LogLevel.
    /// </summary>
    public LogLevel LogLevel { get; set; }

    /// <summary>
    /// Gets or Sets the descriptor for the topic.
    /// </summary>
    public string? Content { get; set; }

    /// <summary>
    /// Gets or sets the time the topic was created.
    /// </summary>
    public DateTimeOffset DateOfCreation { get; set; }

    /// <summary>
    /// Gets the child items of this topic.
    /// </summary>
    public Collection<StartupLogTopic> Children { get; } = [];
}