logging changes

This commit is contained in:
2023-06-11 07:54:38 +06:00
parent ea9292f65f
commit aed71aefe0
32 changed files with 106 additions and 178 deletions

View File

@@ -1,4 +1,4 @@
namespace DTLib.Logging.New;
namespace DTLib.Logging;
public class DefaultLogFormat : ILogFormat
{
@@ -7,7 +7,7 @@ public class DefaultLogFormat : ILogFormat
public bool PrintContext { get; set; }
public bool PrintSeverity { get; set; }
public DefaultLogFormat(bool printTimeStamp = false, bool printContext = true, bool printSeverity = true)
public DefaultLogFormat(bool printTimeStamp = true, bool printContext = true, bool printSeverity = true)
{
PrintTimeStamp = printTimeStamp;
PrintContext = printContext;

View File

@@ -1,4 +1,4 @@
namespace DTLib.Logging.New;
namespace DTLib.Logging;
public interface ILogFormat
{