Example #1
0
 public string GetModuleLogFilePath(string moduleName)
 {
     if (mModuleNames.Contains(moduleName))
     {
         return(LogModule.GetFilePath(moduleName));
     }
     return(string.Empty);
 }
Example #2
0
 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);
         }
     }
 }