static void Start() { try { const String CONFIG_FILE_PATH = "config_market_data_to_log.txt"; MadViper.Config cfg = new MadViper.Config(); cfg.SetValues(CONFIG_FILE_PATH); StartShinhanUdpManagers(cfg); logger.Info("ver 2011-11-21 start... logging을 MadViperData/ktb/output에 진행"); } catch (System.Exception ex) { logger.Error(ex.ToString()); } }
public void Initialize() { _config = new Config(); _config.SetValues(Const.CONFIG_FILE_PATH); _path = Const.CONFIG_FILE_PATH; }
public void Initialize(String path) { _config = new Config(); _config.SetValues(path); _path = path; }