private void Configurate() { this.config = WatcherConfig.Load(); this.logger = WatcherLogger.Load(); this.HandleConfig(); this.ConfigurateLogger(); this.ConfigurateFileSystemWatcher(); this.logger.Write(this.config, this.logger); BclResource.Culture = this.config.CultureInfo; }
public static IWatcherLogger Load() { IWatcherLogger logger = new WatcherLogger(); return(logger); }