mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +01:00
* add in ui
* add in logging viewer
* Revert "add in ui"
This reverts commit 9614721fa8
.
* finish basic feature
* clean up
* improve and fix build
* add in debug log level command option
* use paging for log file list, use extension to select log files, show message for setting up logging
* make paging a little better
* add very basic UT for logs
* Update ServerController.cs
19 lines
446 B
C#
19 lines
446 B
C#
using System.Collections.Generic;
|
|
using System.IO;
|
|
|
|
namespace BTCPayServer.Models.ServerViewModels
|
|
{
|
|
public class LogsViewModel
|
|
{
|
|
|
|
public string StatusMessage
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
public List<FileInfo> LogFiles { get; set; } = new List<FileInfo>();
|
|
public string Log { get; set; }
|
|
public int LogFileCount { get; set; }
|
|
public int LogFileOffset{ get; set; }
|
|
}
|
|
}
|