public string GetModuleLogFilePath(string moduleName) { if (mModuleNames.Contains(moduleName)) { return(LogModule.GetFilePath(moduleName)); } return(string.Empty); }
public void Log(string moduleName, object msg, Loglevels level = Loglevels.All) { if (_config.IsAllEnable) { LogModule.Log(moduleName, msg, level); if (!mModuleNames.Contains(moduleName)) { mModuleNames.Add(moduleName); } } }