internal static LogLevel Valid(LogLevel @this, string name) { if (!LogLevelUtils.IsValid(@this)) { throw new ArgumentOutOfRangeException(name, @this, Properties.Resources.ResourceManager.GetString("LogFileOverflow")); } return(@this); }
public bool WillLogAt(LogLevel queryLevel) { return(_log.IsLogging && LogLevelUtils.IsValid(queryLevel) && _level >= queryLevel); }