Beispiel #1
0
 /// <summary>
 /// Write log - Data Access Layer
 /// </summary>
 /// <param name="logTitle"></param>
 /// <param name="logDetail"></param>
 public static void WriteDAL(string logTitle, string logDetail)
 {
     TLog.Write(logTitle, logDetail, "DAL");
 }
Beispiel #2
0
 /// <summary>
 /// Write log - JavaScript
 /// </summary>
 /// <param name="logTitle"></param>
 /// <param name="logDetail"></param>
 public static void WriteJS(string logTitle, string logDetail)
 {
     TLog.Write(logTitle, logDetail, "JS");
 }
Beispiel #3
0
        //public static void WriteError(string detail)
        //{
        //    if (IsLogBug)
        //        TLog.WriteErr("", detail);
        //}
        //public static void WriteError(string intro, string detail)
        //{
        //    if (IsLogError)
        //        TLog.WriteErr(intro, detail);
        //}

        //public static void WriteBug(string detail)
        //{
        //    if (IsLogBug)
        //        TLog.WriteDebug("", detail);
        //}
        //public static void WriteBug(string intro, string detail)
        //{
        //    if (IsLogBug)
        //        TLog.WriteDebug(intro, detail);
        //}

        //public static void WriteInfo(string intro, string detail)
        //{
        //    if (IsLogInfo)
        //        TLog.WriteInfo(intro, detail, "Info");
        //}
        //public static void WriteInfo(string intro, string detail, string tag)
        //{
        //    if (IsLogInfo)
        //        TLog.WriteInfo(intro, detail, tag);
        //}

        //public static void Write(

        /// <summary>
        /// Write log
        /// </summary>
        /// <param name="logTitle"></param>
        /// <param name="logDetail"></param>
        /// <param name="group"></param>
        public static void Write(string logTitle, string logDetail, string group)
        {
            TLog.Write(logTitle, logDetail, group);
        }
Beispiel #4
0
 /// <summary>
 /// Write log - Framework
 /// </summary>
 /// <param name="logTitle"></param>
 /// <param name="logDetail"></param>
 public static void WriteFW(string logTitle, string logDetail)
 {
     TLog.Write(logTitle, logDetail, "FW");
 }