/// <summary> /// /// </summary> /// <param name="level"></param> /// <returns></returns> public virtual bool IsHistoryLevelAtLeast(HistoryLevel level) { //if (log.IsEnabled(LogLevel.Debug)) //{ // log.LogDebug($"Current history level: {historyLevel}, level required: {level}"); //} // Comparing enums actually compares the location of values declared in // the enum return(historyLevel.IsAtLeast(level)); }
public DefaultHistoryManager(ProcessEngineConfigurationImpl processEngineConfiguration, HistoryLevel historyLevel) : base(processEngineConfiguration) { this.historyLevel = historyLevel; }