Skip to content

Commit

Permalink
Use "Debug" instead of "Information" during module loading.
Browse files Browse the repository at this point in the history
  • Loading branch information
maliming committed Jan 9, 2025
1 parent 7e50acd commit 62f3306
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public static class AbpModuleHelper
public static List<Type> FindAllModuleTypes(Type startupModuleType, ILogger? logger)
{
var moduleTypes = new List<Type>();
logger?.Log(LogLevel.Information, "Loaded ABP modules:");
logger?.Log(LogLevel.Debug, "Loaded ABP modules:");
AddModuleAndDependenciesRecursively(moduleTypes, startupModuleType, logger);
return moduleTypes;
}
Expand Down Expand Up @@ -72,7 +72,7 @@ private static void AddModuleAndDependenciesRecursively(
}

moduleTypes.Add(moduleType);
logger?.Log(LogLevel.Information, $"{new string(' ', depth * 2)}- {moduleType.FullName}");
logger?.Log(LogLevel.Debug, $"{new string(' ', depth * 2)}- {moduleType.FullName}");

foreach (var dependedModuleType in FindDependedModuleTypes(moduleType))
{
Expand Down

0 comments on commit 62f3306

Please sign in to comment.