You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
733 B
31 lines
733 B
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
namespace Jellyfin.Api.Models.ClientLogDtos
|
|
{
|
|
/// <summary>
|
|
/// The client log dto.
|
|
/// </summary>
|
|
public class ClientLogEventDto
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the event timestamp.
|
|
/// </summary>
|
|
[Required]
|
|
public DateTime Timestamp { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the log level.
|
|
/// </summary>
|
|
[Required]
|
|
public LogLevel Level { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the log message.
|
|
/// </summary>
|
|
[Required]
|
|
public string Message { get; set; } = string.Empty;
|
|
}
|
|
}
|