mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-05-14 17:25:46 +00:00
Implemented a new debug log type called NetLog and added more verbose logging to the LDN service. I'd like some feedback on what all should be logged under this category -- I'm likely going to be adding logs for sockets as well, but I want to know specifically if the logging should be more or less verbose and what would be the most helpful things to log.  Reviewed-on: https://git.ryujinx.app/projects/Ryubing/pulls/5
20 lines
332 B
C#
20 lines
332 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace Ryujinx.Common.Logging
|
|
{
|
|
[JsonConverter(typeof(JsonStringEnumConverter<LogLevel>))]
|
|
public enum LogLevel
|
|
{
|
|
Debug,
|
|
Stub,
|
|
Info,
|
|
Warning,
|
|
Error,
|
|
Guest,
|
|
AccessLog,
|
|
NetLog,
|
|
Notice,
|
|
Trace,
|
|
}
|
|
}
|