- DartAPI 요청 버그 수정

- 8092 종목명 찾기 수정
- 실패한 종목명 배경색 추가
This commit is contained in:
2017-02-05 16:55:15 +09:00
parent f33be2f4eb
commit 994e0168a8
4 changed files with 21 additions and 28 deletions

View File

@@ -30,6 +30,7 @@ namespace NewsCrawler
delegate void InsertLogDelegate(RichTextBox LogBox, LOG_TYPE enType, string strLog);
static InsertLogDelegate m_InsertLogDelegate = new InsertLogDelegate(InsertLog);
static object m_LogLock = new object();
public static void SetLogView(RichTextBox logBox)
{
@@ -104,7 +105,8 @@ namespace NewsCrawler
string strTime = DateTime.Now.ToString("[HH:mm:ss:fff] ");
string strMessage = strTime+strLogLevel+strLog;
File.AppendAllText(m_strLogFile, strMessage+Environment.NewLine, new UTF8Encoding(true));
lock(m_LogLock)
File.AppendAllText(m_strLogFile, strMessage+Environment.NewLine, new UTF8Encoding(true));
if(m_LogBox != null)
InsertLog(m_LogBox, enType, strMessage+Environment.NewLine);