Exemplo 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));
 }
Exemplo 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));
 }
Exemplo 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));
 }
Exemplo n.º 4
0
 public static void BaseLog(string parm)
 {
     Log4NetHelper.Log().Info(parm);
 }