fixed typo
This commit is contained in:
@@ -38,14 +38,14 @@ public class CompositeLogger : ILogger
|
||||
}
|
||||
}
|
||||
|
||||
public bool ErrorLogenabled
|
||||
public bool ErrorLogEnabled
|
||||
{
|
||||
get => _errorLogenabled;
|
||||
set
|
||||
{
|
||||
_errorLogenabled = value;
|
||||
for (int i = 0; i < _loggers.Length; i++)
|
||||
_loggers[i].ErrorLogenabled = value;
|
||||
_loggers[i].ErrorLogEnabled = value;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ public class ConsoleLogger : ILogger
|
||||
#endif
|
||||
public bool InfoLogEnabled { get; set; } = true;
|
||||
public bool WarnLogEnabled { get; set; } = true;
|
||||
public bool ErrorLogenabled { get; set; } = true;
|
||||
public bool ErrorLogEnabled { get; set; } = true;
|
||||
public ILogFormat Format { get; }
|
||||
|
||||
readonly object consolelocker = new();
|
||||
|
||||
@@ -67,10 +67,10 @@ public class ContextLogger : ILogger
|
||||
set => ParentLogger.WarnLogEnabled = value;
|
||||
}
|
||||
|
||||
public bool ErrorLogenabled
|
||||
public bool ErrorLogEnabled
|
||||
{
|
||||
get => ParentLogger.ErrorLogenabled;
|
||||
set => ParentLogger.ErrorLogenabled = value;
|
||||
get => ParentLogger.ErrorLogEnabled;
|
||||
set => ParentLogger.ErrorLogEnabled = value;
|
||||
}
|
||||
|
||||
/// Appends subContext to Context
|
||||
|
||||
@@ -10,7 +10,7 @@ public class FileLogger : ILogger
|
||||
#endif
|
||||
public bool InfoLogEnabled { get; set; } = true;
|
||||
public bool WarnLogEnabled { get; set; } = true;
|
||||
public bool ErrorLogenabled { get; set; } = true;
|
||||
public bool ErrorLogEnabled { get; set; } = true;
|
||||
public ILogFormat Format { get; }
|
||||
|
||||
public string LogfileName { get; protected set; }
|
||||
|
||||
@@ -7,7 +7,7 @@ public interface ILogger : IDisposable
|
||||
bool DebugLogEnabled { get; set; }
|
||||
bool InfoLogEnabled { get; set; }
|
||||
bool WarnLogEnabled { get; set; }
|
||||
bool ErrorLogenabled { get; set; }
|
||||
bool ErrorLogEnabled { get; set; }
|
||||
|
||||
void Log(string context, LogSeverity severity, object message, ILogFormat format);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user