public static void init() { log = new CJLog(); log.setLogLevel(CJLog.LogLevel.DEBUG); log.setLogModel(CJLog.LogModel.MESSAGE_BOX_SHOW); getConf(); }
private void TestForm1_Load(object sender, EventArgs e) { log = new CJLog(CJLog.LogLevel.ALL, CJLog.LogModel.TEXT_BOX_SHOW); log.setControl(textBox1); log.loging(conn.ip_server.ToString()); }