Esempio n. 1
0
 /// <summary>
 /// log exception info
 /// </summary>
 /// <param name="moduleName">module name</param>
 /// <param name="actionName">action name</param>
 /// <param name="msg">exception message</param>
 public static void ExcepLog(string moduleName, string actionName, string msg)
 {
     Log4NetHelper.Log().Error(string.Format(_excMsgType, moduleName, actionName, msg));
 }
Esempio n. 2
0
 /// <summary>
 /// log action
 /// </summary>
 /// <param name="moduleName">module name</param>
 /// <param name="actionName">action name</param>
 /// <param name="res">action result</param>
 public static void ActionLog(string moduleName, string actionName, string res)
 {
     Log4NetHelper.Log().Info(string.Format(_actionType, moduleName, actionName, res));
 }
Esempio n. 3
0
 /// <summary>
 /// log json parse failed
 /// </summary>
 /// <param name="moduleName">module name</param>
 /// <param name="actionName">action name</param>
 public static void JsonParseFailed(string moduleName, string actionName)
 {
     Log4NetHelper.Log().Error(string.Format(_jsonParseFailedType, moduleName, actionName));
 }
Esempio n. 4
0
 public static void BaseLog(string parm)
 {
     Log4NetHelper.Log().Info(parm);
 }