123456789101112131415161718192021222324252627282930313233 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace UAS_MES_NEW.PublicMethod
- {
- class LogStringBuilder
- {
- StringBuilder sql;
- public LogStringBuilder()
- {
- sql = new StringBuilder();
- }
- public void Append(string str)
- {
- sql.Append(str);
- }
- public void Clear()
- {
- sql.Clear();
- }
- public string GetString()
- {
- LogManager.DoSQLLog(sql.ToString());
- return sql.ToString();
- }
- }
- }
|