/// <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)); }
/// <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)); }
/// <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)); }
public static void BaseLog(string parm) { Log4NetHelper.Log().Info(parm); }