public void Info(String message) { Boolean isSql = false; if (message.StartsWith(LoggerUtil.SqlPrefix)) { isSql = true; message = strUtil.TrimStart(message, LoggerUtil.SqlPrefix); } _msg.LogTime = DateTime.Now; _msg.Message = message; _msg.LogLevel = "info"; System.Diagnostics.Debug.Write(LoggerUtil.GetFormatMsg(_msg)); if (_levelSetting >= LogLevel.Info) { LoggerUtil.WriteFile(_msg); } if (isSql) { LoggerUtil.LogSqlCount(); } }