Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/31/09 12:38:28 (15 years ago)
Author:
epitzer
Message:

Test drive tracing plug-in in persistence plug-in. (#524)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Persistence/Core/ConfigurationService.cs

    r1454 r1469  
    66using HeuristicLab.Persistence.Default.Xml;
    77using HeuristicLab.Persistence.Interfaces;
     8using HeuristicLab.Tracing;
    89
    910namespace HeuristicLab.Persistence.Core {
     
    5051        }
    5152      } catch {
    52         Console.WriteLine("WARNING: Could not load settings.");
     53        Logger.Warn("Could not load settings.");       
    5354      }
    5455    }
     
    9596            Formatters[formatter.Format].Add(formatter);
    9697          } catch (MissingMethodException) {
    97             Console.WriteLine("WARNING: Could not instantiate {0}", t.VersionInvariantName());
     98            Logger.Warn("Could not instantiate " + t.VersionInvariantName());           
    9899          }         
    99100        }
     
    102103            Decomposers.Add((IDecomposer) Activator.CreateInstance(t, true));
    103104          } catch (MissingMethodException) {
    104             Console.WriteLine("WARNING: Could not instantiate {0}", t.VersionInvariantName());
     105            Logger.Warn("Could not instantiate " + t.VersionInvariantName());           
    105106          }
    106107        }
Note: See TracChangeset for help on using the changeset viewer.