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