private static void Register(IOutputTargetRegistry registry, FolderModel folder)
 {
     registry.RegisterOutputTarget(folder.ToOutputTargetConfig());
     foreach (var child in folder.Folders)
     {
         Register(registry, child);
     }
 }